Clay Jones wrote:
I found the problem. The wrong ar command was being used because the
make file does not have " $(CROSS_COMPILE)" in front of the ar command.


I think this might fix the problem. You will need to run buildtarget again. I hope some of the make experts to chime in on this.

Marc



--
Marc Jones
Senior Firmware Engineer
(970) 226-9684 Office
mailto:[EMAIL PROTECTED]
http://www.amd.com/embeddedprocessors
Cross compile flags were missing for ar to create coreboot.a.

Signed-off-by: Marc Jones <[EMAIL PROTECTED]>

Index: coreboot-v2/src/config/Config.lb
===================================================================
--- coreboot-v2.orig/src/config/Config.lb       2008-02-06 10:17:43.000000000 
-0700
+++ coreboot-v2/src/config/Config.lb    2008-02-06 10:17:22.000000000 -0700
@@ -35,7 +35,7 @@
 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
 
 
-- 
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to