Makefile (22d550ae83603aa8d64d72dd1e2309cd7a96ac89) Makefile (50bce3e80773e06316fcb92796ff26b42348d30b)
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 localyesconfig
7
8ifdef KBUILD_KCONFIG

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

28
29oldconfig: $(obj)/conf
30 $< --$@ $(Kconfig)
31
32silentoldconfig: $(obj)/conf
33 $(Q)mkdir -p include/generated
34 $< --$@ $(Kconfig)
35
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 localyesconfig
7
8ifdef KBUILD_KCONFIG

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

28
29oldconfig: $(obj)/conf
30 $< --$@ $(Kconfig)
31
32silentoldconfig: $(obj)/conf
33 $(Q)mkdir -p include/generated
34 $< --$@ $(Kconfig)
35
36localmodconfig: $(obj)/streamline_config.pl $(obj)/conf
36localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf
37 $(Q)mkdir -p include/generated
38 $(Q)perl $< --$@ $(srctree) $(Kconfig) > .tmp.config
39 $(Q)if [ -f .config ]; then \
40 cmp -s .tmp.config .config || \
41 (mv -f .config .config.old.1; \
42 mv -f .tmp.config .config; \
43 $(obj)/conf --silentoldconfig $(Kconfig); \
44 mv -f .config.old.1 .config.old) \
45 else \
46 mv -f .tmp.config .config; \
47 $(obj)/conf --silentoldconfig $(Kconfig); \
48 fi
49 $(Q)rm -f .tmp.config
50
37 $(Q)mkdir -p include/generated
38 $(Q)perl $< --$@ $(srctree) $(Kconfig) > .tmp.config
39 $(Q)if [ -f .config ]; then \
40 cmp -s .tmp.config .config || \
41 (mv -f .config .config.old.1; \
42 mv -f .tmp.config .config; \
43 $(obj)/conf --silentoldconfig $(Kconfig); \
44 mv -f .config.old.1 .config.old) \
45 else \
46 mv -f .tmp.config .config; \
47 $(obj)/conf --silentoldconfig $(Kconfig); \
48 fi
49 $(Q)rm -f .tmp.config
50
51localyesconfig: $(obj)/streamline_config.pl $(obj)/conf
52 $(Q)mkdir -p include/generated
53 $(Q)perl $< --$@ $(srctree) $(Kconfig) > .tmp.config
54 $(Q)sed -i s/=m/=y/ .tmp.config
55 $(Q)if [ -f .config ]; then \
56 cmp -s .tmp.config .config || \
57 (mv -f .config .config.old.1; \
58 mv -f .tmp.config .config; \
59 $(obj)/conf --silentoldconfig $(Kconfig); \
60 mv -f .config.old.1 .config.old) \
61 else \
62 mv -f .tmp.config .config; \
63 $(obj)/conf --silentoldconfig $(Kconfig); \
64 fi
65 $(Q)rm -f .tmp.config
66
67# Create new linux.pot file
68# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files
69# The symlink is used to repair a deficiency in arch/um
70update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h
71 $(Q)echo " GEN config"
72 $(Q)xgettext --default-domain=linux \
73 --add-comments --keyword=_ --keyword=N_ \
74 --from-code=UTF-8 \

--- 251 unchanged lines hidden ---
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 \

--- 251 unchanged lines hidden ---