Makefile (281c9dadc31ffd9f3cf637553134fefe75e849da) | Makefile (a7c02602a85a0d3f34331ff34d54de7416085985) |
---|---|
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 --- 17 unchanged lines hidden (view full) --- 26oldconfig: $(obj)/conf 27 $< -o $(Kconfig) 28 29silentoldconfig: $(obj)/conf 30 $< -s $(Kconfig) 31 32localmodconfig: $(obj)/streamline_config.pl $(obj)/conf 33 $(Q)perl $< $(Kconfig) > .tmp.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 localyesconfig 7 8ifdef KBUILD_KCONFIG --- 17 unchanged lines hidden (view full) --- 26oldconfig: $(obj)/conf 27 $< -o $(Kconfig) 28 29silentoldconfig: $(obj)/conf 30 $< -s $(Kconfig) 31 32localmodconfig: $(obj)/streamline_config.pl $(obj)/conf 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) | 34 $(Q)if [ -f .config ]; then \ 35 cmp -s .tmp.config .config || \ 36 (mv -f .config .config.old.1; \ 37 mv -f .tmp.config .config; \ 38 $(obj)/conf -s $(Kconfig); \ 39 mv -f .config.old.1 .config.old) \ 40 else \ 41 mv -f .tmp.config .config; \ 42 $(obj)/conf -s $(Kconfig); \ 43 fi |
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)rm -f .tmp.config 45 46localyesconfig: $(obj)/streamline_config.pl 47 $(Q)perl $< $(Kconfig) > .tmp.config 48 $(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)if [ -f .config ]; then \ 50 cmp -s .tmp.config .config || \ 51 (mv -f .config .config.old.1; \ 52 mv -f .tmp.config .config; \ 53 $(obj)/conf -s $(Kconfig); \ 54 mv -f .config.old.1 .config.old) \ 55 else \ 56 mv -f .tmp.config .config; \ 57 $(obj)/conf -s $(Kconfig); \ 58 fi |
49 $(Q)rm -f .tmp.config 50 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 \ --- 255 unchanged lines hidden --- | 59 $(Q)rm -f .tmp.config 60 61# Create new linux.pot file 62# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files 63# The symlink is used to repair a deficiency in arch/um 64update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h 65 $(Q)echo " GEN config" 66 $(Q)xgettext --default-domain=linux \ --- 255 unchanged lines hidden --- |