Skip to contentSkip to conversation

What's needed for new cpu subdirectory?

U-Boot Dirk Behme 2 participants 2 messages Sep 23, 2008

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

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

Quoted 1 line

ls -a cpu/arm_cortexa8/

. .. omap3

Quoted 1 line

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

#1 lore raw

Dear Dirk,

Quoted 3 lines · In message <[email protected]> you wrote:

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

Ummm... if it's common files - shouldn't these go to cpu/arm_cortexa8/ then, and cpu/arm_cortexa8/omap3/ would have only OMAP3 specific files?

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Randal said it would be tough to do in sed. He didn't say  he  didn't
understand  sed.  Randal  understands sed quite well. Which is why he
uses Perl. :-)         - Larry Wall in <[email protected]>