summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 47a03e34e..78dc12582 100644
--- a/Makefile
+++ b/Makefile
@@ -541,6 +541,15 @@ GEN_UBOOT = \
-Map u-boot.map -o u-boot
endif
+#
+# The u-boot image for olio H1 needs to be built with ECC HW. I'd like to
+# have a commandline option for the ECC, since I need two different builds for this.
+#
+
+ifdef SW_ECC
+CFLAGS += -DSW_ECC
+endif
+
$(obj)u-boot: depend \
$(SUBDIR_TOOLS) $(OBJS) $(LIBS) $(obj)u-boot.lds
$(GEN_UBOOT)