Skip to contentSkip to conversation

linux: fix linux-% shortcut targets

PATCH New Bjørn Forsman 1 participant 1 message Dec 19, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux: fix linux-% shortcut targets

commit: http://git.buildroot.net/buildroot/commit/?id=14c1a15fab52812c0932c8c5e26c50c794bcf5c6
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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]
---
 linux/linux.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
linux/linux.mk +1 -1
index 6636a35..f2c6fd5 100644
@@ -200,4 +200,4 @@ endif
 endif
 
 linux-%:
-	$(MAKE) $(subst linux-,linux26-,$@)
+	$(MAKE) $(EXTRAMAKEARGS) $(subst linux-,linux26-,$@)
Signature · 1 line
1.7.2.2