kconfig/check.sh
author Florian Fainelli <f.fainelli@gmail.com>
Wed Sep 19 10:43:04 2012 +0200 (2012-09-19)
changeset 3052 06b663f297ad
parent 943 1cca90ce0481
permissions -rw-r--r--
libc/eglibc: backport OpenEmbedded patches for eglibc 2.16

With this 3 patches, I was able to build and run an eglibc-based system
on MIPS(el) and ARM targets.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
     1 #!/bin/sh
     2 # Needed for systems without gettext
     3 $* -xc -o /dev/null - > /dev/null 2>&1 << EOF
     4 #include <libintl.h>
     5 int main()
     6 {
     7 	gettext("");
     8 	return 0;
     9 }
    10 EOF
    11 if [ ! "$?" -eq "0"  ]; then
    12 	echo -DKBUILD_NO_NLS;
    13 fi
    14