|
@@ -214,7 +214,6 @@ VPATH := $(srctree)$(if $(KBUILD_EXTMOD),:$(KBUILD_EXTMOD))
|
|
|
|
|
|
export srctree objtree VPATH
|
|
|
|
|
|
-
|
|
|
# SUBARCH tells the usermode build what the underlying arch is. That is set
|
|
|
# first, and if a usermode build is happening, the "ARCH=um" on the command
|
|
|
# line overrides the setting of ARCH below. If a native build is happening,
|
|
@@ -1504,11 +1503,11 @@ image_name:
|
|
|
# Clear a bunch of variables before executing the submake
|
|
|
tools/: FORCE
|
|
|
$(Q)mkdir -p $(objtree)/tools
|
|
|
- $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(objtree) subdir=tools -C $(src)/tools/
|
|
|
+ $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(O) subdir=tools -C $(src)/tools/
|
|
|
|
|
|
tools/%: FORCE
|
|
|
$(Q)mkdir -p $(objtree)/tools
|
|
|
- $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(objtree) subdir=tools -C $(src)/tools/ $*
|
|
|
+ $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(O) subdir=tools -C $(src)/tools/ $*
|
|
|
|
|
|
# Single targets
|
|
|
# ---------------------------------------------------------------------------
|