summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/external/SeaBIOS/Makefile.inc4
-rw-r--r--src/arch/x86/Makefile.inc3
2 files changed, 4 insertions, 3 deletions
diff --git a/payloads/external/SeaBIOS/Makefile.inc b/payloads/external/SeaBIOS/Makefile.inc
index 8b44c6fb98..0ffdb638e1 100644
--- a/payloads/external/SeaBIOS/Makefile.inc
+++ b/payloads/external/SeaBIOS/Makefile.inc
@@ -6,7 +6,7 @@ TAG-$(CONFIG_SEABIOS_STABLE)=rel-0.6.1.3
all: seabios
seabios: patch
- cd seabios; $(MAKE) CC="$(CC)" LD="$(LD)"
+ cd seabios; $(MAKE)
patch: checkout
test -r seabios/.patched || \
@@ -23,7 +23,7 @@ checkout:
cd seabios; git checkout -m $(TAG-y)
clean:
- test -d seabios && (cd seabios; $(MAKE) CC="$(CC)" LD="$(LD)" clean) || exit 0
+ test -d seabios && (cd seabios; $(MAKE) clean) || exit 0
distclean:
rm -rf seabios
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index 6cd475f0f2..c9a62c926e 100644
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -286,7 +286,8 @@ endif
seabios:
$(MAKE) -C payloads/external/SeaBIOS -f Makefile.inc \
- CC="$(CC)" LD="$(LD)" \
+ CC="$(CC)" LD="$(LD)" OBJDUMP="$(OBJDUMP)" \
+ OBJCOPY="$(OBJCOPY)" STRIP="$(STRIP)" \
CONFIG_SEABIOS_MASTER=$(CONFIG_SEABIOS_MASTER) \
CONFIG_SEABIOS_STABLE=$(CONFIG_SEABIOS_STABLE)