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

Wolfgang Denk wd at denx.de
Mon Aug 9 22:10:56 CEST 2004


In message <6.0.1.1.0.20040809124633.01bf2e50 at 192.168.2.1> you wrote:
> 
> 1) What about the Makefile in cpu/arm920t? Is it sufficient to change OBJS 
> like this?
> 
> OBJS    = cpu.o \
>            imx_generic.o imx_interrupts.o imx_speed.o \
>            interrupts.o \
>            s3c24x0_interrupts.o s3c24x0_serial.o s3c24x0_speed.o \
>            usb_ohci.o \
>            ep93xx/ep93xx_interrupts.o \
>            ep93xx/ep93xx_net.o \
>            ep93xx/ep93xx_serial.o \
>            ep93xx/ep93xx_speed.o

No. Imagine what the Makefile would look like if we had 50  different
systems with 5...10 files and drivers each.

> 2) Should the new processor-specific files keep the header (ep93xx_ in the 
> previous example) in the name?

No. There is no need for  that,  as  the  subdirectory  name  already
presents this information.

> As a new directory has been introduced, it is clearly redundant.

Indeed.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
You don't have to stay up nights to succeed; you have to  stay  awake
days.




More information about the U-Boot mailing list