Skip to content

Commit d51d16d

Browse files
committed
Fix the patch not applied issue
1 parent 3305c15 commit d51d16d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

platform/barefoot/libsaithrift-dev.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,8 @@ $(eval $(call add_extra_package,$(LIBSAITHRIFT_DEV),$(SAISERVER)))
2929
SAISERVER_DBG = saiserver$(SAITHRIFT_VER)-dbg_$(SAI_VER)_amd64.deb
3030
$(SAISERVER_DBG)_RDEPENDS += $(SAISERVER)
3131
$(eval $(call add_extra_package,$(LIBSAITHRIFT_DEV),$(SAISERVER_DBG)))
32+
33+
# A workaround to fix the SAI header files not checkout issue
34+
# Once the SAI upgraded to the version that contains the patch, then the following change can be removed
35+
PATCH_DEPEND = $(shell cd $(SRC_PATH)/sonic-sairedis; QUILT_PATCHES=../sonic-sairedis.patch quilt push -a > /dev/null)
36+
$(eval $(echo $(PATCH_DEPEND)))

platform/broadcom/libsaithrift-dev.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ $(eval $(call add_extra_package,$(LIBSAITHRIFT_DEV),$(SAISERVER)))
2727
SAISERVER_DBG = saiserver$(SAITHRIFT_VER)-dbg_$(SAI_VER)_amd64.deb
2828
$(SAISERVER_DBG)_RDEPENDS += $(SAISERVER)
2929
$(eval $(call add_extra_package,$(LIBSAITHRIFT_DEV),$(SAISERVER_DBG)))
30+
31+
# A workaround to fix the SAI header files not checkout issue
32+
# Once the SAI upgraded to the version that contains the patch, then the following change can be removed
33+
PATCH_DEPEND = $(shell cd $(SRC_PATH)/sonic-sairedis; QUILT_PATCHES=../sonic-sairedis.patch quilt push -a > /dev/null)
34+
$(eval $(echo $(PATCH_DEPEND)))

0 commit comments

Comments
 (0)