diff --git a/platform/p4/rules.mk b/platform/p4/rules.mk index 07ef1618f6df..408a58041f56 100644 --- a/platform/p4/rules.mk +++ b/platform/p4/rules.mk @@ -4,3 +4,8 @@ include $(PLATFORM_PATH)/p4-hlir.mk include $(PLATFORM_PATH)/p4c-bm.mk include $(PLATFORM_PATH)/tenjin.mk include $(PLATFORM_PATH)/docker-sonic-p4.mk + +SONIC_ALL += $(DOCKER_SONIC_P4) + +$(LIBSAIREDIS)_DEPENDS += $(P4_SWITCH) +$(LIBSAIREDIS)_RDEPENDS += $(P4_SWITCH)