recipes: Fix ALLOW_EMPTY with no package specified

There are various usages of ALLOW_EMPTY with no packages specified. This
is not recommended syntax, nor is it likely to be supported in the future.
This patch improves the references in OE-Core, either removing them if they're
pointless (e.g. when PACKAGES="") or specifying which package it applies to.

(From OE-Core rev: fe81bd4f600877e63433184cfc2e22c33bb77db6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-03-03 15:54:29 +00:00
parent db1d22ab38
commit bd73fa69f5
6 changed files with 7 additions and 8 deletions

View File

@ -20,5 +20,5 @@ do_install() {
install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/
}
ALLOW_EMPTY = "1"
ALLOW_EMPTY_${PN} = "1"
BBCLASSEXTEND = "native nativesdk"

View File

@ -2,7 +2,6 @@ DESCRIPTION = "Rebuild the package index"
LICENSE = "MIT"
INHIBIT_DEFAULT_DEPS = "1"
ALLOW_EMPTY = "1"
PACKAGES = ""
do_fetch[noexec] = "1"

View File

@ -26,8 +26,6 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
LICENSE = "MIT"
ALLOW_EMPTY = "1"
PACKAGES = ""
PR = "r11"

View File

@ -15,7 +15,7 @@ S = "${WORKDIR}/psmisc-${PV}"
inherit autotools gettext
ALLOW_EMPTY = "1"
ALLOW_EMPTY_${PN} = "1"
PACKAGES =+ "fuser fuser-doc killall killall-doc pstree pstree-doc"
PACKAGES += "psmisc-extras"

View File

@ -14,7 +14,11 @@ PACKAGES = "\
gst-meta-debug \
gst-meta-video"
ALLOW_EMPTY = "1"
ALLOW_EMPTY_gst-meta-base = "1"
ALLOW_EMPTY_gst-meta-x11-base = "1"
ALLOW_EMPTY_gst-meta-audio = "1"
ALLOW_EMPTY_gst-meta-debug = "1"
ALLOW_EMPTY_gst-meta-video = "1"
RDEPENDS_gst-meta-base = "\
${@base_contains('DISTRO_FEATURES', 'x11', 'gst-meta-x11-base', '', d)} \

View File

@ -24,8 +24,6 @@ python populate_packages_prepend () {
d.setVar('DESCRIPTION_' + metapkg, pn + ' meta package')
}
ALLOW_EMPTY = "1"
PACKAGES += "${PN}-apps ${PN}-meta ${PN}-glib"
FILES_${PN}-apps = "${bindir}"