diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-03-21 21:08:01 +0100 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-03-22 13:22:19 +0100 |
commit | 163966087d62680547f188a93c61d01c8155254e (patch) | |
tree | d468ac8aab58230ec4697b74c59b5a760c85255b /board/atmel/at91sam9rlek | |
parent | e2c0476f958f8e0b269a1118f4ba4a5cd475aa56 (diff) | |
download | u-boot-163966087d62680547f188a93c61d01c8155254e.tar.gz u-boot-163966087d62680547f188a93c61d01c8155254e.tar.bz2 u-boot-163966087d62680547f188a93c61d01c8155254e.zip |
atmel/at91/boards: compile dataflash partition only when dataflash is
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'board/atmel/at91sam9rlek')
-rw-r--r-- | board/atmel/at91sam9rlek/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/at91sam9rlek/Makefile b/board/atmel/at91sam9rlek/Makefile index 90029cb872..3dbee27cfb 100644 --- a/board/atmel/at91sam9rlek/Makefile +++ b/board/atmel/at91sam9rlek/Makefile @@ -31,7 +31,7 @@ LIB = $(obj)lib$(BOARD).a COBJS-y += at91sam9rlek.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) |