[p4]: add libsaithrift in p4 build (#1391)
This commit is contained in:
parent
46ec35df81
commit
8f52845b82
7
platform/p4/libsaithrift-dev.mk
Normal file
7
platform/p4/libsaithrift-dev.mk
Normal file
@ -0,0 +1,7 @@
|
||||
# libsaithrift-dev package
|
||||
|
||||
LIBSAITHRIFT_DEV_P4 = libsaithrift-dev_1.0.4_amd64.deb
|
||||
$(LIBSAITHRIFT_DEV_P4)_SRC_PATH = $(SRC_PATH)/sonic-sairedis/SAI
|
||||
$(LIBSAITHRIFT_DEV_P4)_DEPENDS += $(LIBTHRIFT) $(LIBTHRIFT_DEV) $(THRIFT_COMPILER) $(P4_SWITCH)
|
||||
$(LIBSAITHRIFT_DEV_P4)_RDEPENDS += $(LIBTHRIFT) $(P4_SWITCH)
|
||||
SONIC_DPKG_DEBS += $(LIBSAITHRIFT_DEV_P4)
|
@ -6,8 +6,9 @@ include $(PLATFORM_PATH)/p4c-bm.mk
|
||||
include $(PLATFORM_PATH)/p4-bmv.mk
|
||||
include $(PLATFORM_PATH)/p4-switch.mk
|
||||
include $(PLATFORM_PATH)/docker-sonic-p4.mk
|
||||
include $(PLATFORM_PATH)/libsaithrift-dev.mk
|
||||
|
||||
SONIC_ALL += $(DOCKER_SONIC_P4)
|
||||
|
||||
$(LIBSAIREDIS)_DEPENDS += $(P4_SWITCH)
|
||||
$(LIBSAIREDIS)_DEPENDS += $(P4_SWITCH) $(LIBSAITHRIFT_DEV_P4)
|
||||
$(LIBSAIREDIS)_RDEPENDS += $(P4_SWITCH)
|
||||
|
Loading…
Reference in New Issue
Block a user