From: Koen Kooi Date: Fri, 7 Jul 2006 12:02:15 +0000 (+0000) Subject: busybox 1.2.0: fix horrendous bug where busybox wouldn't use the crosscompiler, spott... X-Git-Tag: Release-2010-05/1~9453^2~1304 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d52b49474abb892176d72e5094f9ad8d305c898;p=openembedded.git busybox 1.2.0: fix horrendous bug where busybox wouldn't use the crosscompiler, spotted by the good mister Davey --- diff --git a/packages/busybox/busybox_1.2.0.bb b/packages/busybox/busybox_1.2.0.bb index f386304d90..29c6924b9d 100644 --- a/packages/busybox/busybox_1.2.0.bb +++ b/packages/busybox/busybox_1.2.0.bb @@ -10,6 +10,7 @@ HOMEPAGE = "http://www.busybox.net" LICENSE = "GPL" SECTION = "base" PRIORITY = "required" +PR = "r1" DEFAULT_PREFERENCE = "-1" @@ -58,7 +59,14 @@ INITSCRIPT_PARAMS_${PN}_openslug = "start 20 ." inherit cml1 update-rc.d do_configure () { - install -m 0644 ${WORKDIR}/defconfig ${S}/.config + install -m 0644 ${WORKDIR}/defconfig ${S}/.config.oe + + echo "CROSS_COMPILER_PREFIX=\"${TARGET_PREFIX}\"" > ${S}/.config + echo "USING_CROSS_COMPILER=y" >> ${S}/.config + + sed -e '/CROSS_COMPILER_PREFIX/d' \ + -e '/USING_CROSS_COMPILER/d' \ + '${S}/.config.oe' >>'${S}/.config' cml1_do_configure }