summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2010-12-19 18:37:29 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-12-19 20:16:37 (GMT)
commit14c1a15fab52812c0932c8c5e26c50c794bcf5c6 (patch)
treed7f79c0801def1afe851ff8fa8c757ae00fe818a
parentbf6fa18f4d3bd1a9932f65d6f921c89f260bde08 (diff)
downloadbuildroot-14c1a15fab52812c0932c8c5e26c50c794bcf5c6.tar.gz
buildroot-14c1a15fab52812c0932c8c5e26c50c794bcf5c6.tar.bz2
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>
-rw-r--r--linux/linux.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/linux.mk b/linux/linux.mk
index 6636a35..f2c6fd5 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-,$@)