mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
pciutils: fixup library permissions
libpci.so* is installed without +x permissions thus preventing stripping. Fix it up in the post install target hooks. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
22718b0e2c
commit
95cc2aab61
@@ -65,4 +65,12 @@ define PCIUTILS_INSTALL_STAGING_CMDS
|
|||||||
SHARED=$(PCIUTILS_SHARED) install install-lib
|
SHARED=$(PCIUTILS_SHARED) install install-lib
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
# Library lacks +x so strip skips it
|
||||||
|
define PCIUTILS_FIX_LIBRARY_MODE
|
||||||
|
-chmod +x $(TARGET_DIR)/usr/lib/libpci.so*
|
||||||
|
endef
|
||||||
|
|
||||||
|
PCIUTILS_POST_INSTALL_TARGET_HOOKS += PCIUTILS_FIX_LIBRARY_MODE
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user