2021-10-17 11:03:02 -05:00
|
|
|
#
|
2023-08-20 06:29:32 -05:00
|
|
|
# Copyright (c) 2017-2023 NVIDIA CORPORATION & AFFILIATES.
|
2021-10-17 11:03:02 -05:00
|
|
|
# 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.
|
|
|
|
#
|
2017-02-01 00:06:12 -06:00
|
|
|
# sonic mellanox one image installer
|
|
|
|
|
|
|
|
SONIC_ONE_IMAGE = sonic-mellanox.bin
|
|
|
|
$(SONIC_ONE_IMAGE)_MACHINE = mellanox
|
|
|
|
$(SONIC_ONE_IMAGE)_IMAGE_TYPE = onie
|
2023-08-20 06:29:32 -05:00
|
|
|
$(SONIC_ONE_IMAGE)_INSTALLS += $(SX_KERNEL) $(KERNEL_MFT) $(MFT_OEM) $(MFT) $(MFT_FWTRACE_CFG) $(MLNX_HW_MANAGEMENT)
|
2019-07-29 17:52:15 -05:00
|
|
|
$(SONIC_ONE_IMAGE)_INSTALLS += $(SYSTEMD_SONIC_GENERATOR)
|
2019-07-10 14:23:13 -05:00
|
|
|
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
|
2020-04-13 10:13:19 -05:00
|
|
|
$(SONIC_ONE_IMAGE)_FILES += $(MLNX_FILES)
|
2017-02-01 00:06:12 -06:00
|
|
|
SONIC_INSTALLERS += $(SONIC_ONE_IMAGE)
|