[Tools] fix kconfig-frontends compiling issue under mac

This commit is contained in:
Bernard Xiong 2017-11-30 20:57:06 +08:00
parent 7bc87e4ae8
commit 9a82952707
1 changed files with 3 additions and 1 deletions

View File

@ -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('''