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

llandre r&d2 at dave-tech.it
Wed Aug 11 16:23:30 CEST 2004


>Did you have any success with your Cirrus Logic EDB93xx and 
>cpu/arm920t/ep93xx???

No :(
I was just writing you an email when I received yours.
I tried to change both cpu/arm920t/Makefile and cpu/arm920t/ep93xx/Makefile
but I was not able even to build the sources ...

>My first attempt to do something like
>...

After getting your email I changed the two Makefiles as follows:


##################################################################
# cpu/arm920t/Makefile

include $(TOPDIR)/config.mk

LIB     = lib$(CPU).a

# Processor-specific subdirs
SUBDIRS = ep93xx
.PHONY : $(SUBDIRS)


START   = start.o
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

all:    .depend $(START) $(LIB) $(SUBDIRS)

$(LIB): $(OBJS)
         $(AR) crv $@ $(OBJS)

$(SUBDIRS):
                 $(MAKE) -C $@ all

#########################################################################

.depend:        Makefile $(START:.o=.S) $(OBJS:.o=.c)
                 $(CC) -M $(CFLAGS) $(START:.o=.S) $(OBJS:.o=.c) > $@
                 @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; 
done

sinclude .depend

#########################################################################






##################################################################
# cpu/arm920t/ep93xx/Makefile

include $(TOPDIR)/config.mk

LIB     = ../lib$(CPU).a

OBJS    = eth.o ep93xx_interrupts.o \
           serial.o speed.o

all:    .depend $(LIB)

$(LIB): $(OBJS)
         $(AR) crv $@ $(OBJS)

.depend: Makefile $(OBJS:.o=.c)
         $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@

sinclude .depend


The build has been completed successfully.
According to you is this solution ok? Wolfang?




llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2 at dave-tech.it





More information about the U-Boot mailing list