From: Bjørn Forsman Date: Sun, 19 Dec 2010 18:37:29 +0000 (+0100) Subject: linux: fix linux-% shortcut targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14c1a15fab52812c0932c8c5e26c50c794bcf5c6;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- diff --git a/linux/linux.mk b/linux/linux.mk index 6636a35785..f2c6fd5128 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-,$@)