[U-Boot-Users] [PATCH] Cleanup cpu/arm920t

Steven Scholz steven.scholz at imc-berlin.de
Tue Aug 10 09:50:15 CEST 2004


Wolfgang Denk wrote:
> In message <41186758.1050702 at imc-berlin.de> you wrote:
> 
>>So you want a seperate Makefile in each subdir?
> 
> 
> Yes, of course. What else?
> 
> 
>>Any hints how this could be done?
> 
> 
> Ummm... what? Adding a Makefile per subdirectory? Sounds  trivial  to
> me...  We  do  this  all  the time in all U-Boot directories. Or what
> exactly is your problem?

I thought of something like cpu/arm920t/imx/libimx.a and 
cpu/arm920t/s3c24x0/s3c24x0.a. But I don't want to add them the the main 
Makefile.
Now I am wondering how I can put several sublibs together to one 
cpu/$(CPU)/lib$(CPU).a ...

Maybe just linking the objects in cpu/arm920t/<SoC>/ to one big object file...

But I am to stupid for writing Makefiles... :-(

-- 
Steven Scholz




More information about the U-Boot mailing list