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