diff options
author | Richard Purdie <richard@openedhand.com> | 2008-07-19 10:55:02 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-07-19 10:55:02 +0000 |
commit | af361dbeee93530f4041a967f2fa1e490ef2fc78 (patch) | |
tree | 1756c72e56744f9b6e6ebed74a2dc20841947b38 /meta/packages/opkg/opkg_svn.bb | |
parent | e36b4c3b2ecd62c4c7039b913de85381b23300ce (diff) | |
download | poky-af361dbeee93530f4041a967f2fa1e490ef2fc78.tar.gz |
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/packages/opkg/opkg_svn.bb')
-rw-r--r-- | meta/packages/opkg/opkg_svn.bb | 9 |
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" | |||
6 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}" | 6 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}" |
7 | PACKAGE_ARCH_update-alternatives-cworth = "all" | 7 | PACKAGE_ARCH_update-alternatives-cworth = "all" |
8 | 8 | ||
9 | PR = "r6" | 9 | PR = "r7" |
10 | 10 | ||
11 | PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth" | 11 | PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth" |
12 | 12 | ||
@@ -19,7 +19,12 @@ FILES_libopkg = "${libdir}/*.so.*" | |||
19 | OPKG_INIT_POSITION = "98" | 19 | OPKG_INIT_POSITION = "98" |
20 | OPKG_INIT_POSITION_slugos = "41" | 20 | OPKG_INIT_POSITION_slugos = "41" |
21 | 21 | ||
22 | TARGET_CFLAGS += "-Wno-array-bounds" | 22 | EXTRACFLAGS = "" |
23 | EXTRACFLAGS_omap-3430ldp = "-Wno-array-bounds" | ||
24 | EXTRACFLAGS_omap-3430sdp = "-Wno-array-bounds" | ||
25 | EXTRACFLAGS_beagleboard = "-Wno-array-bounds" | ||
26 | |||
27 | TARGET_CFLAGS += "${EXTRACFLAGS}" | ||
23 | 28 | ||
24 | pkg_postinst_opkg () { | 29 | pkg_postinst_opkg () { |
25 | #!/bin/sh | 30 | #!/bin/sh |