Makefile (03fa25da8335a942161a8070b3298cfd4edf9b6a) Makefile (281c9dadc31ffd9f3cf637553134fefe75e849da)
1# ===========================================================================
2# Kernel configuration targets
3# These targets are used from top-level makefile
4
5PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config \
1# ===========================================================================
2# Kernel configuration targets
3# These targets are used from top-level makefile
4
5PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config \
6 localmodconfig
6 localmodconfig localyesconfig
7
8ifdef KBUILD_KCONFIG
9Kconfig := $(KBUILD_KCONFIG)
10else
11Kconfig := arch/$(SRCARCH)/Kconfig
12endif
13
14xconfig: $(obj)/qconf

--- 18 unchanged lines hidden (view full) ---

33 $(Q)perl $< $(Kconfig) > .tmp.config
34 $(Q)cmp -s .tmp.config .config || \
35 (mv -f .config .config.old.1; \
36 mv -f .tmp.config .config; \
37 $(obj)/conf -s $(Kconfig); \
38 mv -f .config.old.1 .config.old)
39 $(Q)rm -f .tmp.config
40
7
8ifdef KBUILD_KCONFIG
9Kconfig := $(KBUILD_KCONFIG)
10else
11Kconfig := arch/$(SRCARCH)/Kconfig
12endif
13
14xconfig: $(obj)/qconf

--- 18 unchanged lines hidden (view full) ---

33 $(Q)perl $< $(Kconfig) > .tmp.config
34 $(Q)cmp -s .tmp.config .config || \
35 (mv -f .config .config.old.1; \
36 mv -f .tmp.config .config; \
37 $(obj)/conf -s $(Kconfig); \
38 mv -f .config.old.1 .config.old)
39 $(Q)rm -f .tmp.config
40
41localyesconfig: $(obj)/streamline_config.pl
42 $(Q)perl $< $(Kconfig) > .tmp.config
43 $(Q)sed -i s/=m/=y/ .tmp.config
44 $(Q)cmp -s .tmp.config .config || \
45 (mv -f .config .config.old.1; \
46 mv -f .tmp.config .config; \
47 $(obj)/conf -s $(Kconfig); \
48 mv -f .config.old.1 .config.old)
49 $(Q)rm -f .tmp.config
50
41# Create new linux.pot file
42# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files
43# The symlink is used to repair a deficiency in arch/um
44update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h
45 $(Q)echo " GEN config"
46 $(Q)xgettext --default-domain=linux \
47 --add-comments --keyword=_ --keyword=N_ \
48 --from-code=UTF-8 \

--- 40 unchanged lines hidden (view full) ---

89# Help text used by make help
90help:
91 @echo ' config - Update current config utilising a line-oriented program'
92 @echo ' menuconfig - Update current config utilising a menu based program'
93 @echo ' xconfig - Update current config utilising a QT based front-end'
94 @echo ' gconfig - Update current config utilising a GTK based front-end'
95 @echo ' oldconfig - Update current config utilising a provided .config as base'
96 @echo ' localmodconfig - Update current config disabling modules not loaded'
51# Create new linux.pot file
52# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files
53# The symlink is used to repair a deficiency in arch/um
54update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h
55 $(Q)echo " GEN config"
56 $(Q)xgettext --default-domain=linux \
57 --add-comments --keyword=_ --keyword=N_ \
58 --from-code=UTF-8 \

--- 40 unchanged lines hidden (view full) ---

99# Help text used by make help
100help:
101 @echo ' config - Update current config utilising a line-oriented program'
102 @echo ' menuconfig - Update current config utilising a menu based program'
103 @echo ' xconfig - Update current config utilising a QT based front-end'
104 @echo ' gconfig - Update current config utilising a GTK based front-end'
105 @echo ' oldconfig - Update current config utilising a provided .config as base'
106 @echo ' localmodconfig - Update current config disabling modules not loaded'
107 @echo ' localyesconfig - Update current config converting local mods to core'
97 @echo ' silentoldconfig - Same as oldconfig, but quietly, additionally update deps'
98 @echo ' randconfig - New config with random answer to all options'
99 @echo ' defconfig - New config with default answer to all options'
100 @echo ' allmodconfig - New config selecting modules when possible'
101 @echo ' allyesconfig - New config where all options are accepted with yes'
102 @echo ' allnoconfig - New config where all options are answered with no'
103
104# lxdialog stuff

--- 196 unchanged lines hidden ---
108 @echo ' silentoldconfig - Same as oldconfig, but quietly, additionally update deps'
109 @echo ' randconfig - New config with random answer to all options'
110 @echo ' defconfig - New config with default answer to all options'
111 @echo ' allmodconfig - New config selecting modules when possible'
112 @echo ' allyesconfig - New config where all options are accepted with yes'
113 @echo ' allnoconfig - New config where all options are answered with no'
114
115# lxdialog stuff

--- 196 unchanged lines hidden ---