Explorar el Código

[Tools] fix kconfig-frontends compiling issue under mac

Bernard Xiong hace 7 años
padre
commit
9a82952707
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      tools/kconfig-frontends/SConstruct

+ 3 - 1
tools/kconfig-frontends/SConstruct

@@ -4,7 +4,9 @@ env = Environment()
 env['CPPPATH'] = ['libs/parser', 'libs']
 env['CPPDEFINES'] = ['CURSES_LOC=\\"ncurses.h\\"', 'HAVE_CONFIG_H', 
     'ROOTMENU=\\"Configuration\\"', 
-    'CONFIG_=\\"CONFIG_\\"', 'GPERF_LEN_TYPE=uint']
+    'CONFIG_=\\"CONFIG_\\"', 
+    'KBUILD_NO_NLS',
+    'GPERF_LEN_TYPE=unsigned int']
 env['LIBS'] = ['ncurses']
 
 src = Split('''