From 5044928baeaed86cee6f8452dc3850d5d0cb80a5 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Wed, 2 Nov 2022 14:48:58 +0000 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni --- package/rpi-userland/rpi-userland.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk index 1204196e19..2800b56296 100644 --- a/package/rpi-userland/rpi-userland.mk +++ b/package/rpi-userland/rpi-userland.mk @@ -25,6 +25,9 @@ define RPI_USERLAND_EXTRA_LIBS_TARGET $(INSTALL) -m 0644 -D \ $(@D)/build/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 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 \ $(@D)/build/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 RPI_USERLAND_POST_INSTALL_STAGING_HOOKS += RPI_USERLAND_EXTRA_LIBS_STAGING