obj-$(CONFIG_SUNXI_NAND) += nand.o libnand = libnand_sun8iw15p1.a $(obj)/$(libnand) : FORCE ifneq ($(wildcard $(obj)/lib),) $(MAKE) -C $(obj)/.. build endif cp $(obj)/$(basename $(libnand)) $@ nand-objs += nand_interface.o \ nfd/nand_ota_burn.o \ nfd/nand_base.o \ nfd/nand_blk.o \ nfd/nand_dev.o \ nfd/nand_class.o \ nfd/nand_test.o \ nfd/nand_osal_for_linux.o \ nfd/nand_lib_cfg.o \ $(libnand)