mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 09:48:16 +00:00
addb2e1650
code and in SoC code). Boards using the old way have CFG_NAND_LEGACY and BOARDLIBS = drivers/nand_legacy/libnand_legacy.a added. Build breakage for NETTA.ERR and NETTA_ISDN - will go away when the new NAND support is implemented for these boards.
16 lines
293 B
Makefile
16 lines
293 B
Makefile
include $(TOPDIR)/config.mk
|
|
|
|
LIB := libnand_legacy.a
|
|
|
|
OBJS := nand_legacy.o
|
|
all: $(LIB)
|
|
|
|
$(LIB): $(OBJS)
|
|
$(AR) crv $@ $(OBJS)
|
|
|
|
#########################################################################
|
|
|
|
.depend: Makefile $(OBJS:.o=.c)
|
|
$(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
|
|
|
|
sinclude .depend
|