uclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endian

ARCH_{BIG|LITTLE}_ENDIAN is governed by ARCH_WANTS_{LITTLE|BIG}_ENDIAN
therefore we tame the superior

(From OE-Core rev: f9eeb4c631006079a707e24a2ab6f717587e51da)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2011-06-27 18:40:51 -07:00
committed by Richard Purdie
parent a37fd58bf1
commit 81fd1b9dde

View File

@@ -164,7 +164,7 @@ python () {
"/^### FPU$/a\\\n%s\n\n" % (["UCLIBC_HAS_FPU=y","# UCLIBC_HAS_FPU is not set"][bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]]), d)
if "${UCLIBC_ENDIAN}":
bb.data.setVar('configmangle_append',
"/^### ABI$/a\\\nARCH_%s_ENDIAN=y\n\n" % ("${UCLIBC_ENDIAN}"),
"/^### ABI$/a\\\nARCH_WANTS_%s_ENDIAN=y\n\n" % ("${UCLIBC_ENDIAN}"),
d)
if "${UCLIBC_ABI}":
bb.data.setVar('configmangle_append',