521a86b2de
- Why I did it Added the fwtrace config files in order to be able to call the mlxstrace utility during the show techsupport dump. Work item tracking Microsoft ADO (number only): - How I did it Added fwtrace config files. Added path to these files to sai.profile for each mlnx device. - How to verify it Execute the show techsupport command and check if mlxstrace output is in system dump. Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com>
32 lines
1.3 KiB
Makefile
32 lines
1.3 KiB
Makefile
#
|
|
# Copyright (c) 2017-2023 NVIDIA CORPORATION & AFFILIATES.
|
|
# Apache-2.0
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
# sonic mellanox one image installer
|
|
|
|
SONIC_ONE_IMAGE = sonic-mellanox.bin
|
|
$(SONIC_ONE_IMAGE)_MACHINE = mellanox
|
|
$(SONIC_ONE_IMAGE)_IMAGE_TYPE = onie
|
|
$(SONIC_ONE_IMAGE)_INSTALLS += $(SX_KERNEL) $(KERNEL_MFT) $(MFT_OEM) $(MFT) $(MFT_FWTRACE_CFG) $(MLNX_HW_MANAGEMENT)
|
|
$(SONIC_ONE_IMAGE)_INSTALLS += $(SYSTEMD_SONIC_GENERATOR)
|
|
ifeq ($(INSTALL_DEBUG_TOOLS),y)
|
|
$(SONIC_ONE_IMAGE)_DOCKERS += $(SONIC_INSTALL_DOCKER_DBG_IMAGES)
|
|
$(SONIC_ONE_IMAGE)_DOCKERS += $(filter-out $(patsubst %-$(DBG_IMAGE_MARK).gz,%.gz, $(SONIC_INSTALL_DOCKER_DBG_IMAGES)), $(SONIC_INSTALL_DOCKER_IMAGES))
|
|
else
|
|
$(SONIC_ONE_IMAGE)_DOCKERS = $(SONIC_INSTALL_DOCKER_IMAGES)
|
|
endif
|
|
$(SONIC_ONE_IMAGE)_FILES += $(MLNX_FILES)
|
|
SONIC_INSTALLERS += $(SONIC_ONE_IMAGE)
|