summaryrefslogtreecommitdiff
path: root/board/atmel/at91sam9260ek/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/at91sam9260ek/Makefile')
-rw-r--r--board/atmel/at91sam9260ek/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/atmel/at91sam9260ek/Makefile b/board/atmel/at91sam9260ek/Makefile
index 7c8a612..aaa3240 100644
--- a/board/atmel/at91sam9260ek/Makefile
+++ b/board/atmel/at91sam9260ek/Makefile
@@ -31,8 +31,7 @@ LIB = $(obj)lib$(BOARD).a
COBJS-y += at91sam9260ek.o
COBJS-y += led.o
-COBJS-y += partition.o
-COBJS-$(CONFIG_CMD_NAND) += nand.o
+COBJS-$(CONFIG_HAS_DATAFLASH) += partition.o
SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS-y))