diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-07-08 13:24:29 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-07-08 17:23:57 -0700 |
commit | b568cfe4aed343dbe1423d88d1bfed7c39698739 (patch) | |
tree | c7042090352d72f96965f8137d36a4aa9ddb66b3 /recipes/uclibc/uclibc.inc | |
parent | 2b886cb404f8985b8ad08fa8d6763442b2ce27ac (diff) |
uclibc: Add thumb-interwork as local distro feature to enable bx
* Bump SRC_REV for uclibc_git
* Pass SSP_ALL_CFLAGS=${TARGET_LINK_HASH_STYLE} otherwise
utils dont get the hash_style right and QA complains.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/uclibc/uclibc.inc')
-rw-r--r-- | recipes/uclibc/uclibc.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/recipes/uclibc/uclibc.inc b/recipes/uclibc/uclibc.inc index b925386c95..746bccc924 100644 --- a/recipes/uclibc/uclibc.inc +++ b/recipes/uclibc/uclibc.inc @@ -19,7 +19,6 @@ python __anonymous () { raise bb.parse.SkipPackage("incompatible with target %s" % bb.data.getVar('TARGET_OS', d, 1)) } - PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" DEPENDS = "virtual/${TARGET_PREFIX}binutils \ virtual/${TARGET_PREFIX}gcc-intermediate \ @@ -79,8 +78,12 @@ EXTRA_OEMAKE = "${OEMAKE_NO_CC} \ EXTRA_OEMAKE_task_do_package = "${OEMAKE_NO_CC}" # enable verbose output: -export V="1" +export V="2" +# -O<n> -fno-omit-frame-pointer ends up with GCC ICE on thumb as reported +# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44860 +# +CFLAGS_arm := "${@oe_filter_out('-fno-omit-frame-pointer', '${CFLAGS}', d)}" UCLIBC_EXTRA_CFLAGS := "${@oe_filter_out('(-I\S+|-i\S+)', '${CFLAGS}', d)}" UCLIBC_EXTRA_LDFLAGS := "${@oe_filter_out('(-L\S+|-l\S+)', '${LDFLAGS}', d)}" do_compile_prepend () { @@ -180,7 +183,7 @@ do_configure() { do_install() { oe_runmake PREFIX=${D} install - oe_runmake PREFIX=${D} install_utils + oe_runmake PREFIX=${D} "SSP_ALL_CFLAGS=${TARGET_LINK_HASH_STYLE}" install_utils } get_monotonic_srcrev () { |