Skip to contentSkip to conversation

recipes: Turn ALLOW_EMPTY to be package specific

PATCH Applied Khem Raj 2 participants 2 messages Mar 20, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 recipes: Turn ALLOW_EMPTY to be package specific

Fixes QA warnings during parse

ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-opie/recipes-opie/packagegroups/nativesdk-packagegroup-opie-toolchain-host.bb:
Variable ALLOW_EMPTY is set as not being package specific, please fix
this.
ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-opie/recipes-opie/packagegroups/packagegroup-opie-toolchain-target.bb:
Variable ALLOW_EMPTY is set as not being package specific, please fix
this.
ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-opie/recipes-opie/opie-mediaplayer1/opie-mediaplayer1_git.bb:
Variable ALLOW_EMPTY is set as not being package specific, please fix
this.
ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-opie/recipes-opie/opie-mediaplayer1/opie-mediaplayer1_1.2.5.bb:
Variable ALLOW_EMPTY is set as not being package specific, please fix
this.

---
 recipes-opie/opie-help-en/opie-help-en.inc         |    2 +-
 .../opie-mediaplayer1/opie-mediaplayer1.inc        |    2 +-
 .../nativesdk-packagegroup-opie-toolchain-host.bb  |    2 +-
 .../packagegroup-opie-toolchain-target.bb          |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
recipes-opie/opie-help-en/opie-help-en.inc +1 -1
index 30295f3..6c0ae6c 100644
@@ -3,7 +3,7 @@ SECTION = "opie/help"
 LICENSE = "GPLv2"
 # FIXME stopgap until split archives have license files included
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-ALLOW_EMPTY = "1"
+ALLOW_EMPTY_${PN} = "1"
 PACKAGE_ARCH = "all"
 
 PACKAGES += "${PN}"
recipes-opie/opie-mediaplayer1/opie-mediaplayer1.inc +1 -1
index 22b1069..df35e37 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "The classic Opie media player (core+plugins)."
 LICENSE = "GPLv2"
 # FIXME stopgap until split archives have license files included
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-ALLOW_EMPTY = "1"
+ALLOW_EMPTY_${PN} = "1"
 PACKAGE_ARCH = "all"
 RDEPENDS_${PN} = "opie-mediaplayer1-core"
 RRECOMMENDS_${PN} = "opie-mediaplayer1-libmadplugin opie-mediaplayer1-libwavplugin \
recipes-opie/packagegroups/nativesdk-packagegroup-opie-toolchain-host.bb +1 -1
index 52693ba..c97f84a 100644
@@ -3,6 +3,6 @@ require recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
 DESCRIPTION = "Host packages for Opie SDK"
 PR = "r3"
 LICENSE = "MIT"
-ALLOW_EMPTY = "1"
+ALLOW_EMPTY_${PN} = "1"
 
 RDEPENDS_${PN} += "nativesdk-qmake nativesdk-uicmoc"
recipes-opie/packagegroups/packagegroup-opie-toolchain-target.bb +1 -1
index ca42e0d..04fa21d 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "Target packages for Opie SDK"
 PR = "r7"
 LICENSE = "MIT"
-ALLOW_EMPTY = "1"
+ALLOW_EMPTY_${PN} = "1"
 
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 88 lines · On Wednesday 20 March 2013 01:59:56 Khem Raj wrote:

Fixes QA warnings during parse

ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-opie/recipes-opie/packagegroups/nativesdk-pack agegroup-opie-toolchain-host.bb: Variable ALLOW_EMPTY is set as not being package specific, please fix this.
ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-opie/recipes-opie/packagegroups/packagegroup-o pie-toolchain-target.bb: Variable ALLOW_EMPTY is set as not being package specific, please fix this.
ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-opie/recipes-opie/opie-mediaplayer1/opie-media player1_git.bb: Variable ALLOW_EMPTY is set as not being package specific, please fix this.
ERROR: QA Issue:
/b/kraj/angstrom/sources/meta-opie/recipes-opie/opie-mediaplayer1/opie-media player1_1.2.5.bb: Variable ALLOW_EMPTY is set as not being package specific, please fix this.

---
 recipes-opie/opie-help-en/opie-help-en.inc         |    2 +-
 .../opie-mediaplayer1/opie-mediaplayer1.inc        |    2 +-
 .../nativesdk-packagegroup-opie-toolchain-host.bb  |    2 +-
 .../packagegroup-opie-toolchain-target.bb          |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
(quoted diff) +0 -0

b/recipes-opie/opie-help-en/opie-help-en.inc index 30295f3..6c0ae6c 100644

recipes-opie/opie-help-en/opie-help-en.inc +0 -0
@@ -3,7 +3,7 @@ SECTION = "opie/help"
 LICENSE = "GPLv2"
 # FIXME stopgap until split archives have license files included
 LIC_FILES_CHKSUM =

"file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"

recipes-opie/opie-help-en/opie-help-en.inc +1 -1
-ALLOW_EMPTY = "1"
+ALLOW_EMPTY_${PN} = "1"
 PACKAGE_ARCH = "all"
 
 PACKAGES += "${PN}"
(quoted diff) +0 -0

b/recipes-opie/opie-mediaplayer1/opie-mediaplayer1.inc index 22b1069..df35e37 100644

recipes-opie/opie-mediaplayer1/opie-mediaplayer1.inc +0 -0
@@ -2,7 +2,7 @@ DESCRIPTION = "The classic Opie media player

(core+plugins)." LICENSE = "GPLv2"
# FIXME stopgap until split archives have license files included LIC_FILES_CHKSUM =
"file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"

recipes-opie/opie-mediaplayer1/opie-mediaplayer1.inc +1 -1
-ALLOW_EMPTY = "1"
+ALLOW_EMPTY_${PN} = "1"
 PACKAGE_ARCH = "all"
 RDEPENDS_${PN} = "opie-mediaplayer1-core"
 RRECOMMENDS_${PN} = "opie-mediaplayer1-libmadplugin

opie-mediaplayer1-libwavplugin \ diff --git a/recipes-opie/packagegroups/nativesdk-packagegroup-opie-toolchain-host.bb b/recipes-opie/packagegroups/nativesdk-packagegroup-opie-toolchain-host.bb index 52693ba..c97f84a 100644
---
a/recipes-opie/packagegroups/nativesdk-packagegroup-opie-toolchain-host.bb
+++
b/recipes-opie/packagegroups/nativesdk-packagegroup-opie-toolchain-host.bb

recipes-opie/opie-mediaplayer1/opie-mediaplayer1.inc +0 -0
@@ -3,6 +3,6 @@ require

recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb DESCRIPTION = "Host packages for Opie SDK"
PR = "r3"
LICENSE = "MIT"

recipes-opie/opie-mediaplayer1/opie-mediaplayer1.inc +1 -1
-ALLOW_EMPTY = "1"
+ALLOW_EMPTY_${PN} = "1"
 
 RDEPENDS_${PN} += "nativesdk-qmake nativesdk-uicmoc"

diff --git a/recipes-opie/packagegroups/packagegroup-opie-toolchain-target.bb b/recipes-opie/packagegroups/packagegroup-opie-toolchain-target.bb index ca42e0d..04fa21d 100644

recipes-opie/packagegroups/packagegroup-opie-toolchain-target.bb +1 -1
@@ -1,7 +1,7 @@
 DESCRIPTION = "Target packages for Opie SDK"
 PR = "r7"
 LICENSE = "MIT"
-ALLOW_EMPTY = "1"
+ALLOW_EMPTY_${PN} = "1"
 
 LIC_FILES_CHKSUM =
 "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
Quoted 1 line

file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

Merged, thanks!

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre