1 include $(TOPDIR)/config.mk
6 #OBJS = ar7240_serial.o ag7240.o ar7240_flash.o meminit.o
10 ifeq ($(BOARD), ap121)
11 OBJS += hornet_serial.o
12 SOBJS += hornet_ddr_init.o
14 OBJS += ar7240_serial.o
17 ifeq ($(BOARD), db12x)
25 all: .depend $(START) $(LIB)
27 $(LIB): $(OBJS) $(SOBJS) $(OBJS-0)
28 $(AR) crv $@ $(OBJS) $(SOBJS)
30 #########################################################################
32 .depend: Makefile $(START:.o=.S) $(OBJS:.o=.c)
33 $(CC) -M $(CFLAGS) $(START:.o=.S) $(OBJS:.o=.c) > $@
37 #########################################################################