[coreboot] r5511 broke my compile

Stefan Reinauer stepan at coresystems.de
Fri Apr 30 08:21:19 CEST 2010

On 4/30/10 6:25 AM, Keith Hui wrote:
> $  make
>     GEN        build.h
>     ROMCC      romstage.inc
>     GEN        crt0.S
>     CC         mainboard/asus/p2b-ls/crt0.s
>     CC         mainboard/asus/p2b-ls/crt0.initobj.o
>     LINK       coreboot
>     OBJCOPY    coreboot.bootblock
> make: *** No rule to make target `src/arch/i386/include/arch/asm.h',
> needed by `build/arch/i386/lib/c_start.o'.  Stop.

The define ASSEMBLY is now passed by the Makefile for assembler files.

Hence the asm.h construct is no longer needed.

Just drop asm.h includes from your code. If you use the post_code()
macro, you can now #include <cpu/x86/post_code.h> instead.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100430/35932dc8/attachment.html>

More information about the coreboot mailing list