From 555c9f9252c40f54ce74f7b01d8e40825dbd7bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 7 Dec 2016 15:01:54 +0200 Subject: [PATCH] ti/beaglebone: Define arch for omap-header build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/17746 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- 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 3bfb0fe964..5b91981d7a 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)