build: Add kconfig menu system.
This is an initial commit of the kconfig system. It is an unmodified copy from Linux v3.16. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
13
scripts/kconfig/check.sh
Executable file
13
scripts/kconfig/check.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
# Needed for systems without gettext
|
||||
$* -x c -o /dev/null - > /dev/null 2>&1 << EOF
|
||||
#include <libintl.h>
|
||||
int main()
|
||||
{
|
||||
gettext("");
|
||||
return 0;
|
||||
}
|
||||
EOF
|
||||
if [ ! "$?" -eq "0" ]; then
|
||||
echo -DKBUILD_NO_NLS;
|
||||
fi
|
||||
Reference in New Issue
Block a user