summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2010-12-19 19:37:29 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-19 21:16:37 +0100
commit14c1a15fab52812c0932c8c5e26c50c794bcf5c6 (patch)
treed7f79c0801def1afe851ff8fa8c757ae00fe818a /linux
parentbf6fa18f4d3bd1a9932f65d6f921c89f260bde08 (diff)
linux: fix linux-% shortcut targets
linux-% shortcut targets (short for linux26-%) ignores the ouput dir $(O) so that 'make O=output.arm linux-menuconfig' is actually run in the default $(O) directory output/ and not in output.arm/. Fix by passing on $(O) if set. [Peter: Use EXTRAMAKEARGS] Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'linux')
-rw-r--r--linux/linux.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/linux.mk b/linux/linux.mk
index 6636a3578..f2c6fd512 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -200,4 +200,4 @@ endif
endif
linux-%:
- $(MAKE) $(subst linux-,linux26-,$@)
+ $(MAKE) $(EXTRAMAKEARGS) $(subst linux-,linux26-,$@)