X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Ftoplevel.mk;h=a623be9f2e69c3592ebe70275f8ffbdb15167c6c;hb=eab15f3dbb947b570a544d0bf861dc85dba05641;hp=708228600c55a7d119fdbc8e723621b109fd2c26;hpb=f6a0204436d51e2227a1b9c8f0463936a9c03f0a;p=openwrt.git diff --git a/include/toplevel.mk b/include/toplevel.mk index 708228600c..a623be9f2e 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -89,7 +89,8 @@ config-clean: FORCE defconfig: scripts/config/conf prepare-tmpinfo FORCE touch .config - $< --defconfig .config Config.in + @if [ -e $(HOME)/.openwrt/defconfig ]; then cp $(HOME)/.openwrt/defconfig .config; fi + $< --defconfig=.config Config.in confdefault-y=allyes confdefault-m=allmod @@ -152,7 +153,7 @@ prereq:: prepare-tmpinfo .config @+$(PREP_MK) $(NO_TRACE_MAKE) -r -s prereq @( \ cp .config tmp/.config; \ - ./scripts/config/conf --defconfig tmp/.config -w tmp/.config Config.in > /dev/null 2>&1; \ + ./scripts/config/conf --defconfig=tmp/.config -w tmp/.config Config.in > /dev/null 2>&1; \ if ./scripts/kconfig.pl '>' .config tmp/.config | grep -q CONFIG; then \ printf "$(_R)WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!$(_N)\n" >&2; \ fi \