From: André Draszik Date: Tue, 1 Oct 2019 15:57:28 +0000 (+0100) Subject: packagegroup: fix a comment regarding PACKAGE_ARCH X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~13115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eae2502936aa36401491cd1e0e5975db96529ae;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git packagegroup: fix a comment regarding PACKAGE_ARCH packagegroups whose dependencies are affected by MACHINE_FEATURES need to be marked as MACHINE_ARCH *before* inheriting the packagegroup class, not after. This has changed in commit 9c826962ec8f ("packagegroup: Make allarch inherit conditional"), commit 4f3f34deafe4 in poky but the comment here wasn't updated at the time. Signed-off-by: André Draszik Signed-off-by: Richard Purdie --- diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass index 94a59e0c030..1541c8fbff1 100644 --- a/meta/classes/packagegroup.bbclass +++ b/meta/classes/packagegroup.bbclass @@ -8,7 +8,7 @@ PACKAGES = "${PN}" # By default, packagegroup packages do not depend on a certain architecture. # Only if dependencies are modified by MACHINE_FEATURES, packages -# need to be set to MACHINE_ARCH after inheriting packagegroup.bbclass +# need to be set to MACHINE_ARCH before inheriting packagegroup.bbclass PACKAGE_ARCH ?= "all" # Fully expanded - so it applies the overrides as well