tasks: Set PACKAGE_ARCH after inherit task
authorHolger Hans Peter Freyther <zecke@openmoko.org>
Wed, 8 Oct 2008 02:01:45 +0000 (04:01 +0200)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 15 Nov 2008 22:49:07 +0000 (23:49 +0100)
    Continue with d2ff2d4cd486e939c72b113fbfc808a743bd436e. Setting PACKAGE_ARCH
    before inherit task will set PACKAGE_ARCH to "all". In this case the package
    arch should be the machine as it contains a machine specific xserver.

    ALLOW_EMPTY is already set by thate bb class as well...

packages/tasks/task-openmoko-basic.bb

index c195d52..4f21f43 100644 (file)
@@ -1,12 +1,11 @@
 DESCRIPTION = "Openmoko: Tasks for the Openmoko Linux Distribution"
 SECTION = "openmoko/base"
-ALLOW_EMPTY = "1"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
 LICENSE = "MIT"
-PR = "r0.04"
+PR = "r0.05"
 
 inherit task
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 PACKAGES = "task-openmoko-basic"
 
 DESCRIPTION_task-openmoko-qtopia-x11 = "Openmoko: Provide Window Manager, Om-settings and Om-installer"