From af361dbeee93530f4041a967f2fa1e490ef2fc78 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 19 Jul 2008 10:55:02 +0000 Subject: 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 --- meta/packages/opkg/opkg_svn.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'meta/packages/opkg') 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 -- cgit v1.2.3