Comments
Patch
@@ -1,7 +1,8 @@
DESCRIPTION = "Tasks for small OPIE image"
SECTION = "opie/base"
LICENSE = "MIT"
-PR = "r3"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+PR = "r4"
inherit task
@@ -34,8 +35,6 @@ RDEPENDS_task-opie-16mb-applets = "opie-aboutapplet opie-clockapplet opie-suspen
${@base_contains("COMBINED_FEATURES", "pcmcia", "opie-cardapplet", "",d)} \
${@base_contains("MACHINE_FEATURES", "keyboard", "opie-vtapplet opie-logoutapplet", "",d)}"
-PACKAGE_ARCH_task-opie-16mb-applets = "${MACHINE_ARCH}"
-
#
# clamshell models can benefit from the autorotate applet
#
@@ -1,8 +1,9 @@
DESCRIPTION = "Tasks for OPIE stuff"
SECTION = "opie/base"
LICENSE = "MIT"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
-PR = "r15"
+PR = "r16"
inherit task
@@ -37,8 +38,6 @@ MACHINE_DISPLAY_HEIGHT_PIXELS ?= "320"
RRECOMMENDS_task-opie-base = "opie-taskbar-images-${MACHINE_DISPLAY_WIDTH_PIXELS}x${MACHINE_DISPLAY_HEIGHT_PIXELS} \
opie-taskbar-images-${MACHINE_DISPLAY_HEIGHT_PIXELS}x${MACHINE_DISPLAY_WIDTH_PIXELS}"
-PACKAGE_ARCH_task-opie-base = "${MACHINE_ARCH}"
-
#
# things for reasonable bootstrap image
#
@@ -51,8 +50,6 @@ RDEPENDS_task-opie-base-applets = "opie-aboutapplet opie-clockapplet opie-suspen
${@base_contains("COMBINED_FEATURES", "pcmcia", "opie-cardapplet", "",d)} \
${@base_contains("MACHINE_FEATURES", "keyboard", "opie-vtapplet opie-logoutapplet", "",d)}"
-PACKAGE_ARCH_task-opie-base-applets = "${MACHINE_ARCH}"
-
#
# clamshell models can benefit from the autorotate applet
#
@@ -78,8 +75,6 @@ RDEPENDS_task-opie-extra-settings = "opie-language opie-doctab opie-mediummount
${@base_contains("DISTRO_FEATURES", "ppp", "opie-networksettings-pppplugin", "",d)} \
"
-PACKAGE_ARCH_task-opie-extra-settings = "${MACHINE_ARCH}"
-
RDEPENDS_task-opie-base-decorations = "opie-deco-flat opie-deco-liquid opie-deco-polished"
RDEPENDS_task-opie-base-styles = "opie-style-flat opie-style-fresh opie-style-web opie-style-phase"
Currently bitbake spills warnings on task-opie and task-opie-16mb recipes containing machine packages, while being non-machine ones. Disable this warning by replacing all PACKAGE_ARCH_xxx stuff with a single PACKAGE_ARCH = "${MACHINE_ARCH}" Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> --- recipes-opie/tasks/task-opie-16mb.bb | 5 ++--- recipes-opie/tasks/task-opie.bb | 9 ++------- 2 files changed, 4 insertions(+), 10 deletions(-)