Makefile (3272cab4063467410802367a8d69f06c65b2a866) | Makefile (f597a718296eef9622ebc1d13f4f8324fa169cef) |
---|---|
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 |
36# if no path is given, then use src directory to find file 37ifdef LSMOD 38LSMOD_F := $(LSMOD) 39ifeq ($(findstring /,$(LSMOD)),) 40 LSMOD_F := $(objtree)/$(LSMOD) 41endif 42endif 43 | |
44localmodconfig: $(obj)/streamline_config.pl $(obj)/conf 45 $(Q)mkdir -p include/generated | 36localmodconfig: $(obj)/streamline_config.pl $(obj)/conf 37 $(Q)mkdir -p include/generated |
46 $(Q)perl $< $(srctree) $(Kconfig) $(LSMOD_F) > .tmp.config | 38 $(Q)perl $< $(srctree) $(Kconfig) > .tmp.config |
47 $(Q)if [ -f .config ]; then \ 48 cmp -s .tmp.config .config || \ 49 (mv -f .config .config.old.1; \ 50 mv -f .tmp.config .config; \ 51 $(obj)/conf --silentoldconfig $(Kconfig); \ 52 mv -f .config.old.1 .config.old) \ 53 else \ 54 mv -f .tmp.config .config; \ 55 $(obj)/conf --silentoldconfig $(Kconfig); \ 56 fi 57 $(Q)rm -f .tmp.config 58 59localyesconfig: $(obj)/streamline_config.pl $(obj)/conf 60 $(Q)mkdir -p include/generated | 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 |
61 $(Q)perl $< $(srctree) $(Kconfig) $(LSMOD_F) > .tmp.config | 53 $(Q)perl $< $(srctree) $(Kconfig) > .tmp.config |
62 $(Q)sed -i s/=m/=y/ .tmp.config 63 $(Q)if [ -f .config ]; then \ 64 cmp -s .tmp.config .config || \ 65 (mv -f .config .config.old.1; \ 66 mv -f .tmp.config .config; \ 67 $(obj)/conf --silentoldconfig $(Kconfig); \ 68 mv -f .config.old.1 .config.old) \ 69 else \ --- 264 unchanged lines hidden --- | 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 \ --- 264 unchanged lines hidden --- |