aboutsummaryrefslogtreecommitdiff
path: root/Makefile.hw
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.hw')
-rw-r--r--Makefile.hw3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.hw b/Makefile.hw
index ba2d390515..88b59b2a20 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -16,7 +16,8 @@ obj-y += loader.o
obj-y += virtio.o
obj-y += fw_cfg.o
obj-y += watchdog.o
-obj-y += nand.o ecc.o
+obj-y += ecc.o
+obj-$(CONFIG_NAND) += nand.o
obj-y += m48t59.o escc.o