{big,litte}endian is set to "no" and neither of them is set to "yes". Saying
it's "not big endian" seems a bit backwards but that's what some site files
seem to get by with. Closes #1320 "net-snmp-5.1.2 fails on uclibc x86 and
ppc".
EXTRA_OEMAKE = "INSTALL_PREFIX=${D}"
do_configure() {
- # endianness fun.. inspired by openssl.inc
+ # endianness fun... inspired by openssl.inc
. ${CONFIG_SITE}
- if test "x$ac_cv_c_bigendian" = "xyes"; then
+ if [ "x$ac_cv_c_bigendian" = "xyes" -o "x$ac_cv_c_littleendian" = "xno" ]; then
ENDIANESS=" --with-endianness=big"
- elif test "x$ac_cv_c_littleendian" = "xyes"; then
+ elif [ "x$ac_cv_c_littleendian" = "xyes" -o "x$ac_cv_c_bigendian" = "xno" ]; then
ENDIANESS=" --with-endianness=little"
else
oefatal do_configure cannot determine endianess
fi
+ oenote Determined endianess as: $ENDIANESS
oe_runconf $ENDIANESS
}