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:
Kevin O'Connor
2014-08-23 22:10:07 -04:00
commit 662d05d313
43 changed files with 26868 additions and 0 deletions

13
scripts/kconfig/check.sh Executable file
View 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