]> git.sur5r.net Git - u-boot/blob - drivers/nand/Makefile
Merge with git://git.kernel.org/pub/scm/boot/u-boot/u-boot.git#ft_infr
[u-boot] / drivers / nand / Makefile
1 include $(TOPDIR)/config.mk
2
3 LIB := libnand.a
4
5 OBJS := nand.o nand_base.o nand_ids.o nand_ecc.o nand_bbt.o
6 all:    $(LIB)
7
8 $(LIB): $(OBJS)
9         $(AR) crv $@ $(OBJS)
10
11 #########################################################################
12
13 .depend:        Makefile $(OBJS:.o=.c)
14                 $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
15
16 sinclude .depend