From 0a9064fb47bb0a239c04b0b63edebfdd3a201fdc Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Wed, 30 Jul 2014 14:08:13 +0900 Subject: kconfig: import Kconfig files from Linux 3.16-rc7 Import - scripts/kconfig/* - include/linux/kconfig.h from Linux 3.16-rc7. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- scripts/kconfig/check.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/kconfig/check.sh (limited to 'scripts/kconfig/check.sh') diff --git a/scripts/kconfig/check.sh b/scripts/kconfig/check.sh new file mode 100755 index 0000000000..55b79ba1ba --- /dev/null +++ b/scripts/kconfig/check.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# Needed for systems without gettext +$* -x c -o /dev/null - > /dev/null 2>&1 << EOF +#include +int main() +{ + gettext(""); + return 0; +} +EOF +if [ ! "$?" -eq "0" ]; then + echo -DKBUILD_NO_NLS; +fi -- cgit