package/udev: move pkgconfig files to staging dir after install
PATCH 1/2 package/udev: move pkgconfig files to staging dir after install
There is unfortunately no way to tell udev's configure process about the install location of its pkgconfig files. However, they should clearly end up in the staging area and not in the target.
Signed-off-by Daniel Mack <[email protected]>
--- package/udev/udev.mk | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
package/udev/udev.mk +1 -0
@@ -29,6 +29,7 @@ endif define UDEV_INSTALL_INITSCRIPT $(INSTALL) -m 0755 package/udev/S10udev $(TARGET_DIR)/etc/init.d/S10udev + mv $(TARGET_DIR)/usr/lib/pkgconfig/*udev* $(STAGING_DIR)/usr/lib/pkgconfig/ endef UDEV_POST_INSTALL_TARGET_HOOKS += UDEV_INSTALL_INITSCRIPT
Signature · 1 line
1.7.6
PATCH 2/2 package/libusb: move pkgconfig file to staging dir after install
There is unfortunately no way to tell udev's configure process about the install location of its pkgconfig files. However, should should clearly end up in the staging area and not in the target.
Signed-off-by Daniel Mack <[email protected]>
--- package/libusb/libusb.mk | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
package/libusb/libusb.mk +6 -0
@@ -10,4 +10,10 @@ LIBUSB_DEPENDENCIES = host-pkg-config LIBUSB_INSTALL_STAGING = YES LIBUSB_INSTALL_TARGET = YES +define LIBUSB_POST_INSTALL + mv $(TARGET_DIR)/usr/lib/pkgconfig/libusb*.pc $(STAGING_DIR)/usr/lib/pkgconfig/ +endef + +LIBUSB_POST_INSTALL_TARGET_HOOKS += LIBUSB_POST_INSTALL + $(eval $(call AUTOTARGETS,package,libusb))
Signature · 1 line
1.7.6