Makefile (615f0833aa4c4aa944ceb78895bbffa8bd1884df) | Makefile (3cebbb81c7e75321e25cc586d07a25a3d98278fc) |
---|---|
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 --- 18 unchanged lines hidden (view full) --- 27 $< -o $(Kconfig) 28 29silentoldconfig: $(obj)/conf 30 $(Q)mkdir -p include/generated 31 $< -s $(Kconfig) 32 33# if no path is given, then use src directory to find file 34ifdef LSMOD | 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 --- 18 unchanged lines hidden (view full) --- 27 $< -o $(Kconfig) 28 29silentoldconfig: $(obj)/conf 30 $(Q)mkdir -p include/generated 31 $< -s $(Kconfig) 32 33# if no path is given, then use src directory to find file 34ifdef LSMOD |
35LSMOD_F = $(shell if [ `basename $(LSMOD)` == $(LSMOD) ]; then \ 36 echo $(objtree)/$(LSMOD); \ 37 else \ 38 echo $(LSMOD); \ 39 fi) | 35LSMOD_F := $(LSMOD) 36ifeq ($(findstring /,$(LSMOD)),) 37 LSMOD_F := $(objtree)/$(LSMOD) |
40endif | 38endif |
39endif |
|
41 42localmodconfig: $(obj)/streamline_config.pl $(obj)/conf 43 $(Q)mkdir -p include/generated 44 $(Q)perl $< $(srctree) $(Kconfig) $(LSMOD_F) > .tmp.config 45 $(Q)if [ -f .config ]; then \ 46 cmp -s .tmp.config .config || \ 47 (mv -f .config .config.old.1; \ 48 mv -f .tmp.config .config; \ --- 285 unchanged lines hidden --- | 40 41localmodconfig: $(obj)/streamline_config.pl $(obj)/conf 42 $(Q)mkdir -p include/generated 43 $(Q)perl $< $(srctree) $(Kconfig) $(LSMOD_F) > .tmp.config 44 $(Q)if [ -f .config ]; then \ 45 cmp -s .tmp.config .config || \ 46 (mv -f .config .config.old.1; \ 47 mv -f .tmp.config .config; \ --- 285 unchanged lines hidden --- |