Pass all required toolchain parts to SeaBIOS correctly

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6317 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2011-01-29 05:51:54 +00:00 committed by Stefan Reinauer
parent 86bd99aba2
commit e3509fdb68
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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)