rpi-userland: pass -DALL_APPS=OFF when example apps are disabled
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Jul 2015 16:37:35 +0000 (18:37 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Jul 2015 16:37:35 +0000 (18:37 +0200)
It should have been part of commit
d705809c7a32d6868a742b790648a65857f21197.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/rpi-userland/rpi-userland.mk

index 3a317338ed177e2831d5667c38d384f1cfb7ea26..403409d78317cc9cfd5396523783cdbea91c7a23 100644 (file)
@@ -46,6 +46,10 @@ define RPI_USERLAND_EXTRA_LIBS_STAGING
 endef
 RPI_USERLAND_POST_INSTALL_STAGING_HOOKS += RPI_USERLAND_EXTRA_LIBS_STAGING
 
+else
+
+RPI_USERLAND_CONF_OPTS += -DALL_APPS=OFF
+
 endif # BR2_PACKAGE_RPI_USERLAND_HELLO
 
 define RPI_USERLAND_POST_TARGET_CLEANUP