X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/8e82554c4f9a898abdf540188bd69086958c9410..203e0651d10da37115e16f65999b50da4f02bcdc:/include/toplevel.mk?ds=sidebyside diff --git a/include/toplevel.mk b/include/toplevel.mk index d8b16d1d9..cb50dfa3d 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -7,7 +7,6 @@ # RELEASE:=Kamikaze -SHELL:=/usr/bin/env bash PREP_MK= OPENWRT_BUILD= QUIET=0 include $(TOPDIR)/include/verbose.mk @@ -29,6 +28,9 @@ export DYLD_LIBRARY_PATH:=$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAG # prevent perforce from messing with the patch utility unexport P4PORT P4USER P4CONFIG P4CLIENT +# prevent user defaults for quilt from interfering +unexport QUILT_PATCHES QUILT_PATCH_OPTS + # make sure that a predefined CFLAGS variable does not disturb packages export CFLAGS= @@ -39,6 +41,8 @@ endif SCAN_COOKIE?=$(shell echo $$$$) export SCAN_COOKIE +SUBMAKE:=umask 022; $(SUBMAKE) + prepare-mk: FORCE ; prepare-tmpinfo: FORCE @@ -100,6 +104,9 @@ kernel_oldconfig: prepare_kernel_conf kernel_menuconfig: prepare_kernel_conf $(_SINGLE)$(NO_TRACE_MAKE) -C target/linux menuconfig +kernel_nconfig: prepare_kernel_conf + $(_SINGLE)$(NO_TRACE_MAKE) -C target/linux nconfig + tmp/.prereq-build: include/prereq-build.mk mkdir -p tmp rm -f tmp/.host.mk @@ -109,6 +116,9 @@ tmp/.prereq-build: include/prereq-build.mk } touch $@ +printdb: FORCE + @$(_SINGLE)$(NO_TRACE_MAKE) -p $@ V=99 DUMP_TARGET_DB=1 2>&1 + download: .config FORCE @+$(SUBMAKE) tools/download @+$(SUBMAKE) toolchain/download