From 6677b913b0546adbcd6d9944537727b8643e7626 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Thu, 29 May 2014 17:20:45 +0200 Subject: [PATCH] meta-digi: remove ALLOW_EMPTY hacks for libdigi and microwindows Those hacks were added to fix a problem when building development images (with 'dev-pkgs' image feature enabled). In that case the developemnt packages (libdigi-dev and microwindows-dev) have a dependence on the normal packages (libdigi and microwindows). But those packages are not created by default because they are empty, thus the needed ALLOW_EMPTY hack. Fix the problem by just resetting the runtime dependences of the -dev packages. This allows to not create empty libdigi and microwindows packages. Signed-off-by: Javier Viguera --- meta-digi-arm/recipes-bsp/libdigi/libdigi.bb | 2 +- .../recipes-graphics/microwindows/microwindows_0.91.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-digi-arm/recipes-bsp/libdigi/libdigi.bb b/meta-digi-arm/recipes-bsp/libdigi/libdigi.bb index 0dcae5136..e4f18436b 100644 --- a/meta-digi-arm/recipes-bsp/libdigi/libdigi.bb +++ b/meta-digi-arm/recipes-bsp/libdigi/libdigi.bb @@ -37,6 +37,6 @@ do_install() { install -m 0644 cmdopt.h crc32.h digi-platforms.h log.h mem.h misc_helper.h ${D}/usr/include/libdigi } -ALLOW_EMPTY_${PN} = "1" +RDEPENDS_${PN}-dev = "" PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/meta-digi-dey/recipes-graphics/microwindows/microwindows_0.91.bb b/meta-digi-dey/recipes-graphics/microwindows/microwindows_0.91.bb index a734de95d..4aeb82891 100644 --- a/meta-digi-dey/recipes-graphics/microwindows/microwindows_0.91.bb +++ b/meta-digi-dey/recipes-graphics/microwindows/microwindows_0.91.bb @@ -29,4 +29,4 @@ do_install() { oe_runmake install } -ALLOW_EMPTY_${PN} = "1" +RDEPENDS_${PN}-dev = ""