Fix for Accton platform build failure when doing incremental build (#10541)
This commit is contained in:
parent
dc6f3252aa
commit
f579f61e4c
@ -44,7 +44,7 @@ export ACCTON_AS7315_27XB_PLATFORM_MODULE_VERSION
|
||||
|
||||
ACCTON_AS7712_32X_PLATFORM_MODULE = sonic-platform-accton-as7712-32x_$(ACCTON_AS7712_32X_PLATFORM_MODULE_VERSION)_amd64.deb
|
||||
$(ACCTON_AS7712_32X_PLATFORM_MODULE)_SRC_PATH = $(PLATFORM_PATH)/sonic-platform-modules-accton
|
||||
$(ACCTON_AS7712_32X_PLATFORM_MODULE)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON)
|
||||
$(ACCTON_AS7712_32X_PLATFORM_MODULE)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON) $(PDDF_PLATFORM_MODULE_SYM)
|
||||
$(ACCTON_AS7712_32X_PLATFORM_MODULE)_PLATFORM = x86_64-accton_as7712_32x-r0
|
||||
SONIC_DPKG_DEBS += $(ACCTON_AS7712_32X_PLATFORM_MODULE)
|
||||
|
||||
|
@ -9,4 +9,7 @@ Package: sonic-platform-pddf
|
||||
Architecture: amd64
|
||||
Description: kernel modules for platform devices such as psu, fan, sfp, led
|
||||
|
||||
Package: sonic-platform-pddf-sym
|
||||
Architecture: amd64
|
||||
Description: PDDF kernel modules symbols which could be used for other platform modules build
|
||||
|
||||
|
1
platform/pddf/i2c/debian/sonic-platform-pddf-sym.install
Normal file
1
platform/pddf/i2c/debian/sonic-platform-pddf-sym.install
Normal file
@ -0,0 +1 @@
|
||||
Module.symvers.PDDF sonic/platform/pddf/i2c
|
@ -0,0 +1,2 @@
|
||||
chmod 777 sonic/platform/pddf/i2c/Module.symvers.PDDF
|
||||
chown $(stat -c "%u:%g" sonic/platform/pddf/i2c) sonic/platform/pddf/i2c/Module.symvers.PDDF
|
@ -9,4 +9,7 @@ $(PDDF_PLATFORM_MODULE)_SRC_PATH = $(PLATFORM_PDDF_PATH)/i2c
|
||||
$(PDDF_PLATFORM_MODULE)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON)
|
||||
SONIC_DPKG_DEBS += $(PDDF_PLATFORM_MODULE)
|
||||
|
||||
PDDF_PLATFORM_MODULE_SYM = sonic-platform-pddf-sym_$(PDDF_PLATFORM_MODULE_VERSION)_amd64.deb
|
||||
$(eval $(call add_derived_package,$(PDDF_PLATFORM_MODULE),$(PDDF_PLATFORM_MODULE_SYM)))
|
||||
|
||||
SONIC_STRETCH_DEBS += $(PDDF_PLATFORM_MODULE)
|
||||
|
Loading…
Reference in New Issue
Block a user