summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Jones <marc.jones@amd.com>2008-02-09 13:06:45 +0000
committerStefan Reinauer <stepan@openbios.org>2008-02-09 13:06:45 +0000
commit5eb25bf48fa65f1f70888954992feb3e8db49308 (patch)
treed50c1accbc729133a0d85b6943d13f43dfc6e9bc
parent2f7b7fb82a24ad8fea85035641cc4760b5857519 (diff)
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
-rw-r--r--src/config/Config.lb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/Config.lb b/src/config/Config.lb
index 7202d7f44e..4427812923 100644
--- a/src/config/Config.lb
+++ b/src/config/Config.lb
@@ -35,7 +35,7 @@ end
makerule coreboot.a
depends "$(OBJECTS)"
action "rm -f coreboot.a"
- action "ar cr coreboot.a $(OBJECTS)"
+ action "$(CROSS_COMPILE)ar cr coreboot.a $(OBJECTS)"
end
@@ -79,7 +79,7 @@ if CONFIG_AP_CODE_IN_CAR
makerule coreboot_apc.a
depends "apc_auto.o"
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
makerule coreboot_apc.o