Makefile (63a91033d52e64a22e571fe84924c0b7f21c280d) Makefile (1cba0c305758c3c1786ecaceb03e142c95a4edc9)
1# ===========================================================================
2# Kernel configuration targets
3# These targets are used from top-level makefile
4
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 \
5PHONY += xconfig gconfig menuconfig config silentoldconfig update-po-config \
6 localmodconfig localyesconfig
7
8ifdef KBUILD_KCONFIG
9Kconfig := $(KBUILD_KCONFIG)
10else
11Kconfig := Kconfig
12endif
13

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

24 $< $(Kconfig)
25
26config: $(obj)/conf
27 $< --oldaskconfig $(Kconfig)
28
29nconfig: $(obj)/nconf
30 $< $(Kconfig)
31
6 localmodconfig localyesconfig
7
8ifdef KBUILD_KCONFIG
9Kconfig := $(KBUILD_KCONFIG)
10else
11Kconfig := Kconfig
12endif
13

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

24 $< $(Kconfig)
25
26config: $(obj)/conf
27 $< --oldaskconfig $(Kconfig)
28
29nconfig: $(obj)/nconf
30 $< $(Kconfig)
31
32oldconfig: $(obj)/conf
33 $< --$@ $(Kconfig)
34
35silentoldconfig: $(obj)/conf
36 $(Q)mkdir -p include/config include/generated
37 $< --$@ $(Kconfig)
38
39localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf
40 $(Q)mkdir -p include/config include/generated
41 $(Q)perl $< --$@ $(srctree) $(Kconfig) > .tmp.config
42 $(Q)if [ -f .config ]; then \

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

69 $(obj)/kxgettext $$i \
70 >> $(obj)/config.pot; \
71 done )
72 $(Q)echo " GEN linux.pot"
73 $(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
74 --output $(obj)/linux.pot
75 $(Q)rm -f $(obj)/config.pot
76
32silentoldconfig: $(obj)/conf
33 $(Q)mkdir -p include/config include/generated
34 $< --$@ $(Kconfig)
35
36localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf
37 $(Q)mkdir -p include/config include/generated
38 $(Q)perl $< --$@ $(srctree) $(Kconfig) > .tmp.config
39 $(Q)if [ -f .config ]; then \

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

66 $(obj)/kxgettext $$i \
67 >> $(obj)/config.pot; \
68 done )
69 $(Q)echo " GEN linux.pot"
70 $(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
71 --output $(obj)/linux.pot
72 $(Q)rm -f $(obj)/config.pot
73
77PHONY += allnoconfig allyesconfig allmodconfig alldefconfig randconfig
74# These targets map 1:1 to the commandline options of 'conf'
75simple-targets := oldconfig allnoconfig allyesconfig allmodconfig \
76 alldefconfig randconfig listnewconfig olddefconfig
77PHONY += $(simple-targets)
78
78
79allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf
79$(simple-targets): $(obj)/conf
80 $< --$@ $(Kconfig)
81
80 $< --$@ $(Kconfig)
81
82PHONY += listnewconfig olddefconfig oldnoconfig savedefconfig defconfig
82PHONY += oldnoconfig savedefconfig defconfig
83
83
84listnewconfig olddefconfig: $(obj)/conf
85 $< --$@ $(Kconfig)
86
87# oldnoconfig is an alias of olddefconfig, because people already are dependent
88# on its behavior(sets new symbols to their default value but not 'n') with the
89# counter-intuitive name.
84# oldnoconfig is an alias of olddefconfig, because people already are dependent
85# on its behavior(sets new symbols to their default value but not 'n') with the
86# counter-intuitive name.
90oldnoconfig: $(obj)/conf
91 $< --olddefconfig $(Kconfig)
87oldnoconfig: olddefconfig
92
93savedefconfig: $(obj)/conf
94 $< --$@=defconfig $(Kconfig)
95
96defconfig: $(obj)/conf
97ifeq ($(KBUILD_DEFCONFIG),)
98 $< --defconfig $(Kconfig)
99else

--- 211 unchanged lines hidden ---
88
89savedefconfig: $(obj)/conf
90 $< --$@=defconfig $(Kconfig)
91
92defconfig: $(obj)/conf
93ifeq ($(KBUILD_DEFCONFIG),)
94 $< --defconfig $(Kconfig)
95else

--- 211 unchanged lines hidden ---