5c5e4c77f4
This patch adds support for lazy install of Marvell prestera SDK drivers for platform-nokia. Lazy install for drivers is added as updated sdk driver needs to classify the drivers required for platform during compile time. SDK drivers and platform files are now fetched from a submodule(mrvl-prestera). Additionaly, DTB required for sonic_fit creation during compile time is sourced from sonic-linux-kernel. Change-Id: Id5b011e6bd67accf7b1579d91cb7affad464e916 Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
26 lines
778 B
Makefile
26 lines
778 B
Makefile
#include $(PLATFORM_PATH)/sdk.mk
|
|
include $(PLATFORM_PATH)/sai.mk
|
|
include $(PLATFORM_PATH)/docker-syncd-mrvl.mk
|
|
include $(PLATFORM_PATH)/docker-syncd-mrvl-rpc.mk
|
|
include $(PLATFORM_PATH)/docker-saiserver-mrvl.mk
|
|
include $(PLATFORM_PATH)/libsaithrift-dev.mk
|
|
include $(PLATFORM_PATH)/one-image.mk
|
|
include $(PLATFORM_PATH)/mrvl-prestera.mk
|
|
include $(PLATFORM_PATH)/platform-nokia.mk
|
|
|
|
SONIC_ALL += $(SONIC_ONE_IMAGE) \
|
|
$(DOCKER_FPM) \
|
|
$(DOCKER_PTF_MRVL) \
|
|
$(DOCKER_SYNCD_MRVL_RPC)
|
|
|
|
# Inject mrvl sai into syncd
|
|
$(SYNCD)_DEPENDS += $(MRVL_SAI)
|
|
$(SYNCD)_UNINSTALLS += $(MRVL_SAI)
|
|
|
|
ifeq ($(ENABLE_SYNCD_RPC),y)
|
|
$(SYNCD)_DEPENDS += $(LIBSAITHRIFT_DEV)
|
|
endif
|
|
|
|
# Runtime dependency on mrvl sai is set only for syncd
|
|
$(SYNCD)_RDEPENDS += $(MRVL_SAI)
|