X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Ftoplevel.mk;h=1171c59093139a5228c2c9ff258f179d0475c2e6;hb=6b76377bc3e01c13030c8e2e718ce379e2ec3f7f;hp=24e4ebf823fbb304fd32c67815596803890a367c;hpb=d2ddda691eeac92c6854658fb7389b7f9485d6c8;p=lede.git diff --git a/include/toplevel.mk b/include/toplevel.mk index 24e4ebf823..1171c59093 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -23,6 +23,7 @@ HOSTCC ?= $(CC) export REVISION export SOURCE_DATE_EPOCH export GIT_CONFIG_PARAMETERS='core.autocrlf=false' +export GIT_ASKPASS:=/bin/true export MAKE_JOBSERVER=$(filter --jobserver%,$(MAKEFLAGS)) # prevent perforce from messing with the patch utility @@ -126,7 +127,7 @@ menuconfig: scripts/config/mconf prepare-tmpinfo FORCE if [ \! -e .config -a -e $(HOME)/.openwrt/defconfig ]; then \ cp $(HOME)/.openwrt/defconfig .config; \ fi - $< Config.in + [ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; $< Config.in prepare_kernel_conf: .config FORCE @@ -170,7 +171,7 @@ else DOWNLOAD_DIRS = package/download endif -download: .config FORCE +download: .config FORCE $(if $(wildcard $(TOPDIR)/staging_dir/host/bin/flock),,tools/flock/compile) @+$(foreach dir,$(DOWNLOAD_DIRS),$(SUBMAKE) $(dir);) clean dirclean: .config