add $(CROSS_COMPILE) to ar calls.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3100 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Marc Jones 2008-02-09 13:06:45 +00:00 committed by Stefan Reinauer
parent 2f7b7fb82a
commit 5eb25bf48f
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ end
makerule coreboot.a makerule coreboot.a
depends "$(OBJECTS)" depends "$(OBJECTS)"
action "rm -f coreboot.a" action "rm -f coreboot.a"
action "ar cr coreboot.a $(OBJECTS)" action "$(CROSS_COMPILE)ar cr coreboot.a $(OBJECTS)"
end end
@ -79,7 +79,7 @@ if CONFIG_AP_CODE_IN_CAR
makerule coreboot_apc.a makerule coreboot_apc.a
depends "apc_auto.o" depends "apc_auto.o"
action "rm -f coreboot_apc.a" action "rm -f coreboot_apc.a"
action "ar cr coreboot_apc.a apc_auto.o" action "$(CROSS_COMPILE)ar cr coreboot_apc.a apc_auto.o"
end end
makerule coreboot_apc.o makerule coreboot_apc.o