Patchwork [meta-opie,4/6] opie-button-settings: make whole recipe a machine-only

login
register
mail settings
Submitter lumag
Date Dec. 13, 2011, 4:44 p.m.
Message ID <1323794683-24233-5-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/16839/
State Accepted
Headers show

Comments

lumag - Dec. 13, 2011, 4:44 p.m.
Currently bitbake spills warnings on opie-button-settings
recipe containing machine packages, while being non-machine one.
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>
---
 .../opie-button-settings/opie-button-settings.inc  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/recipes-opie/opie-button-settings/opie-button-settings.inc b/recipes-opie/opie-button-settings/opie-button-settings.inc
index 4cc0908..15b46ee 100644
--- a/recipes-opie/opie-button-settings/opie-button-settings.inc
+++ b/recipes-opie/opie-button-settings/opie-button-settings.inc
@@ -18,7 +18,7 @@  do_install() {
 }
 
 PACKAGES_prepend = "opie-button-settings-pics "
-PACKAGE_ARCH_opie-button-settings-pics = "${MACHINE_ARCH}"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 FILES_opie-button-settings-pics = "${palmtopdir}/pics/devicebuttons/z*" 
 FILES_opie-button-settings-pics_h1910 = "${palmtopdir}/pics/devicebuttons/ipaq*"
 FILES_opie-button-settings-pics_h1940 = "${palmtopdir}/pics/devicebuttons/ipaq*"