Browse Source

[Tools] fix kconfig-frontends compiling issue under mac

Bernard Xiong 7 years ago
parent
commit
9a82952707
1 changed files with 3 additions and 1 deletions
  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['CPPPATH'] = ['libs/parser', 'libs']
 env['CPPDEFINES'] = ['CURSES_LOC=\\"ncurses.h\\"', 'HAVE_CONFIG_H', 
 env['CPPDEFINES'] = ['CURSES_LOC=\\"ncurses.h\\"', 'HAVE_CONFIG_H', 
     'ROOTMENU=\\"Configuration\\"', 
     'ROOTMENU=\\"Configuration\\"', 
-    'CONFIG_=\\"CONFIG_\\"', 'GPERF_LEN_TYPE=uint']
+    'CONFIG_=\\"CONFIG_\\"', 
+    'KBUILD_NO_NLS',
+    'GPERF_LEN_TYPE=unsigned int']
 env['LIBS'] = ['ncurses']
 env['LIBS'] = ['ncurses']
 
 
 src = Split('''
 src = Split('''