summaryrefslogtreecommitdiff
path: root/cpu/arm1136/mx31/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm1136/mx31/Makefile')
-rw-r--r--cpu/arm1136/mx31/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/arm1136/mx31/Makefile b/cpu/arm1136/mx31/Makefile
index c8e18f7..a57465f 100644
--- a/cpu/arm1136/mx31/Makefile
+++ b/cpu/arm1136/mx31/Makefile
@@ -29,6 +29,10 @@ COBJS += generic.o
COBJS += timer.o
COBJS += devices.o
+ifdef CONFIG_NAND_BOOT
+SOBJS = nand_load.o
+endif
+
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))