linux: fix linux-% shortcut targets
authorBjørn Forsman <bjorn.forsman@gmail.com>
Sun, 19 Dec 2010 18:37:29 +0000 (19:37 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 19 Dec 2010 20:16:37 +0000 (21:16 +0100)
commit14c1a15fab52812c0932c8c5e26c50c794bcf5c6
treed7f79c0801def1afe851ff8fa8c757ae00fe818a
parentbf6fa18f4d3bd1a9932f65d6f921c89f260bde08
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>
linux/linux.mk