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 <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2014-05-29 17:20:45 +02:00
parent a4c9ddc270
commit 6677b913b0
2 changed files with 2 additions and 2 deletions

View File

@ -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}"

View File

@ -29,4 +29,4 @@ do_install() {
oe_runmake install
}
ALLOW_EMPTY_${PN} = "1"
RDEPENDS_${PN}-dev = ""