summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-19 10:55:02 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-19 10:55:02 +0000
commitaf361dbeee93530f4041a967f2fa1e490ef2fc78 (patch)
tree1756c72e56744f9b6e6ebed74a2dc20841947b38 /meta
parente36b4c3b2ecd62c4c7039b913de85381b23300ce (diff)
downloadopenembedded-core-af361dbeee93530f4041a967f2fa1e490ef2fc78.tar.gz
openembedded-core-af361dbeee93530f4041a967f2fa1e490ef2fc78.tar.bz2
openembedded-core-af361dbeee93530f4041a967f2fa1e490ef2fc78.zip
opkg: Only add no-array-bounds option for armv7 machines
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4891 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/opkg/opkg_svn.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/packages/opkg/opkg_svn.bb b/meta/packages/opkg/opkg_svn.bb
index bfe8e8174b..70c19165fe 100644
--- a/meta/packages/opkg/opkg_svn.bb
+++ b/meta/packages/opkg/opkg_svn.bb
@@ -6,7 +6,7 @@ RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}"
PACKAGE_ARCH_update-alternatives-cworth = "all"
-PR = "r6"
+PR = "r7"
PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth"
@@ -19,7 +19,12 @@ FILES_libopkg = "${libdir}/*.so.*"
OPKG_INIT_POSITION = "98"
OPKG_INIT_POSITION_slugos = "41"
-TARGET_CFLAGS += "-Wno-array-bounds"
+EXTRACFLAGS = ""
+EXTRACFLAGS_omap-3430ldp = "-Wno-array-bounds"
+EXTRACFLAGS_omap-3430sdp = "-Wno-array-bounds"
+EXTRACFLAGS_beagleboard = "-Wno-array-bounds"
+
+TARGET_CFLAGS += "${EXTRACFLAGS}"
pkg_postinst_opkg () {
#!/bin/sh