[coreboot] [patch] Build error with top of tree V2

Uwe Hermann uwe at hermann-uwe.de
Wed Feb 6 18:51:15 CET 2008


On Wed, Feb 06, 2008 at 10:29:32AM -0700, Marc Jones wrote:
> Cross compile flags were missing for ar to create coreboot.a.
> 
> Signed-off-by: Marc Jones <marc.jones at amd.com>
> 
> 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

Untested, but I'm pretty sure that there should _not_ be a space in there.

Better:
           action  "$(CROSS_COMPILE)ar cr coreboot.a $(OBJECTS)"

Someone should actually test this, though.


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org




More information about the coreboot mailing list