Makefile: fix source/source-check/external-deps with O=
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 29 Aug 2010 21:24:07 +0000 (23:24 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 29 Aug 2010 21:24:07 +0000 (23:24 +0200)
commitde846f6e043bf6fe13fb387cd92585a7a70913a7
tree09b2db94574bc87fa0680af2d1970b3331d75677
parentb6207627b4d20628ca0491377f17c5f3c91627d9
Makefile: fix source/source-check/external-deps with O=

Based on patch by Will Wagner <will_wagner@carallon.com>.

Now that the .config is located in the output directory when O=<dir>
is used, we have to pass the O= option to make for
source/source-check/external-deps to get them to look in the right place
for the .config.

Fix it by introducing an EXTRAMAKEARGS variable and use it whenever we
call back into the toplevel Makefile.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile