add $(CROSS_COMPILE) to ar calls.
authorMarc Jones <marc.jones@amd.com>
Sat, 9 Feb 2008 13:06:45 +0000 (13:06 +0000)
committerStefan Reinauer <stepan@openbios.org>
Sat, 9 Feb 2008 13:06:45 +0000 (13:06 +0000)
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

src/config/Config.lb

index 7202d7f44ee558521af85c05ffbbf74ea73ef0dc..44278129236f4ae4e2bc64cc2a6cf9dcb5c51e51 100644 (file)
@@ -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