[coreboot] Problem of compiling the new architecture

Maxim Gusev mail at maximgusev.com
Thu Feb 9 13:49:16 CET 2017


Hello!

Please help to solve one problem...
When I am trying to compile the sources of my specific architecture, my compiler tries to build "src/cpu/x86/lapic/boot_cpu.c".

"CC bootblock/commonlib/cbfs.o
CC bootblock/commonlib/lz4_wrapper.o
CC bootblock/commonlib/mem_pool.o
CC bootblock/commonlib/region.o
CC bootblock/console/die.o
CC bootblock/console/post.o
CC bootblock/cpu/x86/lapic/boot_cpu.o"

But it is not x86 compatible arch. How to escape this dirs?

As I can see in src/cpu/x86/lapic/Makefile.inc there is a bootblock-y += boot_cpu.c so it will be always in the bootblock stage (with any arch)?
I think the compiler should see only the src/cpu/MY_ARCH/lapic/Makefile.inc.
What shell I do?

Thanks!

Regards,
Maxim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20170209/8dca404a/attachment.html>


More information about the coreboot mailing list