diff options
author | Mike Westerhof <mwester@dls.net> | 2008-09-07 03:56:12 +0000 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2008-09-07 03:56:12 +0000 |
commit | 60547ded403dd699b9505963a9ecd7d8b5131c0d (patch) | |
tree | bad995bcb58896f3bba5df1885fc64a9c6f39b04 /packages/uclibc/uclibc.inc | |
parent | e91fb86bac727e1331bd2e881ee31229a4861db9 (diff) | |
parent | 77d22b463d3fc3982db26d7e8d54ce3df9989077 (diff) |
merge of '36d8e178bafb50c7881d637db537e08c72510ace'
and '409f0e4c54eb53279e57c78f8ba5c98e3fa9ceb3'
Diffstat (limited to 'packages/uclibc/uclibc.inc')
-rw-r--r-- | packages/uclibc/uclibc.inc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/packages/uclibc/uclibc.inc b/packages/uclibc/uclibc.inc index 5b0ef914dd..f20caa29f1 100644 --- a/packages/uclibc/uclibc.inc +++ b/packages/uclibc/uclibc.inc @@ -26,7 +26,7 @@ DEPENDS = "virtual/${TARGET_PREFIX}binutils \ RDEPENDS_${PN}-dev = "linux-libc-headers-dev" # Blackfin needs a wrapper around ld -DEPENDS_append_bfin = " elf2flt " +#DEPENDS_append_bfin = " elf2flt " INHIBIT_DEFAULT_DEPS = "1" PARALLEL_MAKE = "" @@ -132,6 +132,7 @@ do_configure() { # Mangle the resulting .config depending on OE variables perl -i -p -e 's,^CROSS=.*,TARGET_ARCH=${TARGET_ARCH}\nCROSS=${TARGET_PREFIX},g' ${S}/Rules.mak + sed -i -e s:'$(CROSS)strip':true: ${S}/Rules.mak perl -i -p -e '${configmangle}' ${S}/.config sed -i -e '/CONFIG_ARM_EABI/d' ${S}/.config @@ -176,11 +177,11 @@ do_stage() { do_install() { # Tis MUST be done first because we # will install crt1.o in the install_dev stage and gcc needs it) - oe_runmake PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ + oe_runmake STRIPTOOL=true PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ install_dev install_runtime - oe_runmake PREFIX=${D} DEVEL_PREFIX=${prefix}/ RUNTIME_PREFIX=/ \ + oe_runmake STRIPTOOL=true PREFIX=${D} DEVEL_PREFIX=${prefix}/ RUNTIME_PREFIX=/ \ install_dev install_runtime # We don't really need this in ${includedir} @@ -209,7 +210,10 @@ do_install() { fi oe_runmake utils - oe_runmake PREFIX=${D} DEVEL_PREFIX=${prefix}/ RUNTIME_PREFIX=/ \ + oe_runmake STRIPTOOL=true PREFIX=${D} DEVEL_PREFIX=${prefix}/ RUNTIME_PREFIX=/ \ install_utils + + # oe_runstrip needs +x on files + chmod +x ${D}/${base_libdir}/* } |