package/rpi-userland: fix hello_ applications
The HELLO_ examples fail to run because the librevision.so library build by the userland package is not included in the image. Include this library if BR2_PACKAGE_RPI_USERLAND_HELLO is selected. Signed-off-by: Tim Gover <tim.gover@raspberrypi.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
a353cf8736
commit
5044928bae
@ -25,6 +25,9 @@ define RPI_USERLAND_EXTRA_LIBS_TARGET
|
|||||||
$(INSTALL) -m 0644 -D \
|
$(INSTALL) -m 0644 -D \
|
||||||
$(@D)/build/lib/libilclient.so \
|
$(@D)/build/lib/libilclient.so \
|
||||||
$(TARGET_DIR)/usr/lib/libilclient.so
|
$(TARGET_DIR)/usr/lib/libilclient.so
|
||||||
|
$(INSTALL) -m 0644 -D \
|
||||||
|
$(@D)/build/lib/librevision.so \
|
||||||
|
$(TARGET_DIR)/usr/lib/librevision.so
|
||||||
endef
|
endef
|
||||||
RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_EXTRA_LIBS_TARGET
|
RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_EXTRA_LIBS_TARGET
|
||||||
|
|
||||||
@ -32,6 +35,9 @@ define RPI_USERLAND_EXTRA_LIBS_STAGING
|
|||||||
$(INSTALL) -m 0644 -D \
|
$(INSTALL) -m 0644 -D \
|
||||||
$(@D)/build/lib/libilclient.so \
|
$(@D)/build/lib/libilclient.so \
|
||||||
$(STAGING_DIR)/usr/lib/libilclient.so
|
$(STAGING_DIR)/usr/lib/libilclient.so
|
||||||
|
$(INSTALL) -m 0644 -D \
|
||||||
|
$(@D)/build/lib/librevision.so \
|
||||||
|
$(STAGING_DIR)/usr/lib/librevision.so
|
||||||
endef
|
endef
|
||||||
RPI_USERLAND_POST_INSTALL_STAGING_HOOKS += RPI_USERLAND_EXTRA_LIBS_STAGING
|
RPI_USERLAND_POST_INSTALL_STAGING_HOOKS += RPI_USERLAND_EXTRA_LIBS_STAGING
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user