packagegroup*: set PACKAGE_ARCH before packagegroup inherit

This is now needed in yocto 1.7. Otherwise it fails with:

ERROR: Please ensure recipe packagegroup-dey-gstreamer.bb sets PACKAGE_ARCH before inherit packagegroup
ERROR: Please ensure recipe packagegroup-dey-examples.bb sets PACKAGE_ARCH before inherit packagegroup

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2014-11-17 16:30:10 +01:00
parent df83ee2116
commit 4de5782fe9
2 changed files with 2 additions and 3 deletions

View File

@ -9,6 +9,7 @@ PR = "r0"
DEPENDS = "virtual/kernel"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
RDEPENDS_${PN} = "\
@ -53,5 +54,4 @@ RDEPENDS_${PN}_append_ccimx6 = "\
dey-examples-v4l2 \
"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ccardimx28|ccimx5|ccimx6)"

View File

@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
PR = "r0"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
MACHINE_GSTREAMER_PLUGIN ?= ""
@ -21,5 +22,3 @@ RDEPENDS_${PN} = " \
${MACHINE_GSTREAMER_PLUGIN} \
${@base_conditional('HAVE_GUI', '1' , '', 'gst-fsl-plugin-gplay', d)} \
"
PACKAGE_ARCH = "${MACHINE_ARCH}"