diff options
author | Koen Kooi <koen@openembedded.org> | 2006-07-07 12:02:15 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-07-07 12:02:15 +0000 |
commit | 7d52b49474abb892176d72e5094f9ad8d305c898 (patch) | |
tree | 60acde9f0ef00884ddb808f7983afe7efad1eaaf /packages | |
parent | 60f127b133b3c2f2df2f0a05e0a92e56c25ba4dd (diff) |
busybox 1.2.0: fix horrendous bug where busybox wouldn't use the crosscompiler, spotted by the good mister Davey
Diffstat (limited to 'packages')
-rw-r--r-- | packages/busybox/busybox_1.2.0.bb | 10 |
1 files changed, 9 insertions, 1 deletions
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 } |