Kyösti Mälkki (kyosti.malkki@gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17746
-gerrit
commit 2e33d8a84f704970608db93033113ebd3fefb202 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Wed Dec 7 15:01:54 2016 +0200
ti/beaglebone: Define arch for omap-header build
Required to add rules.h as default include, otherwise we get error:
./src/include/rules.h:128:5: error: "__COREBOOT_ARM_ARCH__" is not defined [-Werror=undef]
Previously, rules.h was not included in omap-header build at all.
Change-Id: I75265916856f2f21f7966619ea65d63acd599e2f Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- src/cpu/ti/am335x/Makefile.inc | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/cpu/ti/am335x/Makefile.inc b/src/cpu/ti/am335x/Makefile.inc index 3bfb0fe..5b91981 100644 --- a/src/cpu/ti/am335x/Makefile.inc +++ b/src/cpu/ti/am335x/Makefile.inc @@ -21,6 +21,8 @@ endif $(call add-class,omap-header) $(eval $(call create_class_compiler,omap-header,arm))
+omap-header-generic-ccopts += -D__COREBOOT_ARM_ARCH__=7 + real-target: $(obj)/MLO
header_ld := $(call src-to-obj,omap-header,$(dir)/header.ld)