[U-Boot] What's needed for new cpu subdirectory?

Dirk Behme dirk.behme at googlemail.com
Tue Sep 23 20:12:22 CEST 2008


For OMAP3 patch [1] I try to move common files currently in cpu/omap3 
to cpu/arm_cortexa8/omap3 as discussed earlier [2].

Moving the files is easy, but how has main Makefile to be configured?

I have

 > ls -a cpu/arm_cortexa8/
.  ..  omap3

 > ls -a cpu/arm_cortexa8/omap3/
.   board.c  config.mk  interrupts.c     Makefile  nand.c   sys_info.c
..  clock.c  cpu.c      lowlevel_init.S  mem.c     start.S  syslib.c

and in main Makefile

@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 omap3 evm omap3

This results in

make -C cpu/arm_cortexa8 start.o

which fails as start.S is in cpu/arm_cortexa8/omap3/

Any hint what is necessary to get stuff in cpu/arm_cortexa8/omap3/ 
compiled?

Thanks

Dirk

[1] http://lists.denx.de/pipermail/u-boot/2008-September/040561.html

[2] http://lists.denx.de/pipermail/u-boot/2008-September/040712.html


More information about the U-Boot mailing list