diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-06-01 11:55:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-06-01 11:55:52 -0400 |
commit | 1f73897861b8ef0be64ff4b801f8d6f830f683b5 (patch) | |
tree | b4bae8f12e1422113910d8cb00a19d010dc4a52f /scripts/kconfig/Makefile | |
parent | b904d7131d116900524bd36ec170dcd97846bfd3 (diff) | |
parent | 64ffc9ff424c65adcffe7d590018cc75e2d5d42a (diff) |
Merge branch 'for-35' of git://repo.or.cz/linux-kbuild
* 'for-35' of git://repo.or.cz/linux-kbuild: (81 commits)
kbuild: Revert part of e8d400a to resolve a conflict
kbuild: Fix checking of scm-identifier variable
gconfig: add support to show hidden options that have prompts
menuconfig: add support to show hidden options which have prompts
gconfig: remove show_debug option
gconfig: remove dbg_print_ptype() and dbg_print_stype()
kconfig: fix zconfdump()
kconfig: some small fixes
add random binaries to .gitignore
kbuild: Include gen_initramfs_list.sh and the file list in the .d file
kconfig: recalc symbol value before showing search results
.gitignore: ignore *.lzo files
headerdep: perlcritic warning
scripts/Makefile.lib: Align the output of LZO
kbuild: Generate modules.builtin in make modules_install
Revert "kbuild: specify absolute paths for cscope"
kbuild: Do not unnecessarily regenerate modules.builtin
headers_install: use local file handles
headers_check: fix perl warnings
export_report: fix perl warnings
...
Diffstat (limited to 'scripts/kconfig/Makefile')
-rw-r--r-- | scripts/kconfig/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 186c46604d06..7cdae39b8f09 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -23,6 +23,9 @@ menuconfig: $(obj)/mconf | |||
23 | config: $(obj)/conf | 23 | config: $(obj)/conf |
24 | $< $(Kconfig) | 24 | $< $(Kconfig) |
25 | 25 | ||
26 | nconfig: $(obj)/nconf | ||
27 | $< $(Kconfig) | ||
28 | |||
26 | oldconfig: $(obj)/conf | 29 | oldconfig: $(obj)/conf |
27 | $< -o $(Kconfig) | 30 | $< -o $(Kconfig) |
28 | 31 | ||
@@ -120,6 +123,7 @@ endif | |||
120 | # Help text used by make help | 123 | # Help text used by make help |
121 | help: | 124 | help: |
122 | @echo ' config - Update current config utilising a line-oriented program' | 125 | @echo ' config - Update current config utilising a line-oriented program' |
126 | @echo ' nconfig - Update current config utilising a ncurses menu based program' | ||
123 | @echo ' menuconfig - Update current config utilising a menu based program' | 127 | @echo ' menuconfig - Update current config utilising a menu based program' |
124 | @echo ' xconfig - Update current config utilising a QT based front-end' | 128 | @echo ' xconfig - Update current config utilising a QT based front-end' |
125 | @echo ' gconfig - Update current config utilising a GTK based front-end' | 129 | @echo ' gconfig - Update current config utilising a GTK based front-end' |
@@ -147,6 +151,8 @@ HOST_EXTRACFLAGS += -DLOCALE | |||
147 | # =========================================================================== | 151 | # =========================================================================== |
148 | # Shared Makefile for the various kconfig executables: | 152 | # Shared Makefile for the various kconfig executables: |
149 | # conf: Used for defconfig, oldconfig and related targets | 153 | # conf: Used for defconfig, oldconfig and related targets |
154 | # nconf: Used for the nconfig target. | ||
155 | # Utilizes ncurses | ||
150 | # mconf: Used for the menuconfig target | 156 | # mconf: Used for the menuconfig target |
151 | # Utilizes the lxdialog package | 157 | # Utilizes the lxdialog package |
152 | # qconf: Used for the xconfig target | 158 | # qconf: Used for the xconfig target |
@@ -159,11 +165,16 @@ lxdialog := lxdialog/checklist.o lxdialog/util.o lxdialog/inputbox.o | |||
159 | lxdialog += lxdialog/textbox.o lxdialog/yesno.o lxdialog/menubox.o | 165 | lxdialog += lxdialog/textbox.o lxdialog/yesno.o lxdialog/menubox.o |
160 | 166 | ||
161 | conf-objs := conf.o zconf.tab.o | 167 | conf-objs := conf.o zconf.tab.o |
162 | mconf-objs := mconf.o zconf.tab.o $(lxdialog) | 168 | mconf-objs := mconf.o zconf.tab.o $(lxdialog) |
169 | nconf-objs := nconf.o zconf.tab.o nconf.gui.o | ||
163 | kxgettext-objs := kxgettext.o zconf.tab.o | 170 | kxgettext-objs := kxgettext.o zconf.tab.o |
164 | 171 | ||
165 | hostprogs-y := conf qconf gconf kxgettext | 172 | hostprogs-y := conf qconf gconf kxgettext |
166 | 173 | ||
174 | ifeq ($(MAKECMDGOALS),nconfig) | ||
175 | hostprogs-y += nconf | ||
176 | endif | ||
177 | |||
167 | ifeq ($(MAKECMDGOALS),menuconfig) | 178 | ifeq ($(MAKECMDGOALS),menuconfig) |
168 | hostprogs-y += mconf | 179 | hostprogs-y += mconf |
169 | endif | 180 | endif |
@@ -187,7 +198,7 @@ endif | |||
187 | 198 | ||
188 | clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \ | 199 | clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \ |
189 | .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c gconf.glade.h | 200 | .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c gconf.glade.h |
190 | clean-files += mconf qconf gconf | 201 | clean-files += mconf qconf gconf nconf |
191 | clean-files += config.pot linux.pot | 202 | clean-files += config.pot linux.pot |
192 | 203 | ||
193 | # Check that we have the required ncurses stuff installed for lxdialog (menuconfig) | 204 | # Check that we have the required ncurses stuff installed for lxdialog (menuconfig) |
@@ -212,6 +223,7 @@ HOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0` | |||
212 | HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \ | 223 | HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \ |
213 | -D LKC_DIRECT_LINK | 224 | -D LKC_DIRECT_LINK |
214 | 225 | ||
226 | HOSTLOADLIBES_nconf = -lmenu -lpanel -lncurses | ||
215 | $(obj)/qconf.o: $(obj)/.tmp_qtcheck | 227 | $(obj)/qconf.o: $(obj)/.tmp_qtcheck |
216 | 228 | ||
217 | ifeq ($(qconf-target),1) | 229 | ifeq ($(qconf-target),1) |