diff --git a/platform/generic/rules.mk b/platform/generic/rules.mk new file mode 100644 index 0000000000..5ef6468b2f --- /dev/null +++ b/platform/generic/rules.mk @@ -0,0 +1,6 @@ +SONIC_ALL += $(DOCKER_DATABASE) \ + $(DOCKER_FPM) \ + $(DOCKER_TEAM) \ + $(DOCKER_LLDP_SV2) \ + $(DOCKER_SNMP_SV2) \ + $(DOCKER_PLATFORM_MONITOR) diff --git a/slave.mk b/slave.mk index ee89df4b4c..cb7cc03715 100644 --- a/slave.mk +++ b/slave.mk @@ -26,6 +26,7 @@ PROJECT_ROOT = $(shell pwd) CONFIGURED_PLATFORM := $(shell [ -f .platform ] && cat .platform || echo undefined) PLATFORM_PATH = platform/$(CONFIGURED_PLATFORM) +PLATFORM_GENERIC_PATH = platform/generic ############################################################################### ## Utility rules @@ -51,6 +52,7 @@ distclean : .platform clean include $(RULES_PATH)/config include $(RULES_PATH)/functions include $(RULES_PATH)/*.mk +include $(PLATFORM_GENERIC_PATH)/rules.mk ifneq ($(CONFIGURED_PLATFORM), undefined) include $(PLATFORM_PATH)/rules.mk endif