tools/firmware: pass PYTHON as an env var to sub-makes in this subtree
authorChristoph Egger <Christoph.Egger@amd.com>
Wed, 25 Apr 2012 10:21:25 +0000 (11:21 +0100)
committerChristoph Egger <Christoph.Egger@amd.com>
Wed, 25 Apr 2012 10:21:25 +0000 (11:21 +0100)
This fixes the Seabios build on platforms where just "python" is not
correct, which includes NetBSD.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/firmware/Makefile

index bfef1ab5b3a14e3e3b753dd7f1b2a1fa0a39df1b..aff8e564e9f7a1e2e0cd10327e5ddc801cfa0e5a 100644 (file)
@@ -32,7 +32,7 @@ ifeq ($(CONFIG_ROMBIOS),y)
        false ; \
        fi
 endif
-       $(MAKE) subdirs-$@
+       $(MAKE) PYTHON=$(PYTHON) subdirs-$@
 
 
 .PHONY: install