diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1321,10 +1321,12 @@ kernelversion: | |||
1321 | 1321 | ||
1322 | # Clear a bunch of variables before executing the submake | 1322 | # Clear a bunch of variables before executing the submake |
1323 | tools/: FORCE | 1323 | tools/: FORCE |
1324 | $(Q)$(MAKE) LDFLAGS= MAKEFLAGS= -C $(src)/tools/ | 1324 | $(Q)mkdir -p $(objtree)/tools |
1325 | $(Q)$(MAKE) LDFLAGS= MAKEFLAGS= O=$(objtree) subdir=tools -C $(src)/tools/ | ||
1325 | 1326 | ||
1326 | tools/%: FORCE | 1327 | tools/%: FORCE |
1327 | $(Q)$(MAKE) LDFLAGS= MAKEFLAGS= -C $(src)/tools/ $* | 1328 | $(Q)mkdir -p $(objtree)/tools |
1329 | $(Q)$(MAKE) LDFLAGS= MAKEFLAGS= O=$(objtree) subdir=tools -C $(src)/tools/ $* | ||
1328 | 1330 | ||
1329 | # Single targets | 1331 | # Single targets |
1330 | # --------------------------------------------------------------------------- | 1332 | # --------------------------------------------------------------------------- |