1 include $(TOPDIR)/config.mk
5 OBJS = $(BOARD).o ../common/ar7240_pci.o ../common/spi_flash.o ../common/common.o
7 ifeq ($(ETH_CONFIG), _s17)
8 OBJS += ../common/athrs17_phy.o
11 ifeq ($(ETH_CONFIG), _s27)
12 OBJS += ../common/athrs27_phy.o
15 $(LIB): .depend $(OBJS) $(SOBJS)
16 $(AR) crv $@ $(OBJS) $(SOBJS)
18 #########################################################################
20 .depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
21 $(CC) -M $(CFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@
25 #########################################################################