It's perfectly fine to have one single copy of kconfig in the tree. Change-Id: Icfe32f0249dfc1c223009d6e7136462f8f8a7248 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/10521 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			214 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			214 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/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
 |