aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.inc
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2015-03-26 16:29:00 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-04-22 08:56:46 +0200
commitd06258c515b7e337ab819f8ad833e0d6c9c6ba83 (patch)
tree46a2ae5b3fd5636842f26cd2578055086aea7ae3 /Makefile.inc
parent4b14076fd538348d02c7bdecd17379b421e047c6 (diff)
downloadcoreboot-d06258c515b7e337ab819f8ad833e0d6c9c6ba83.tar.gz
coreboot-d06258c515b7e337ab819f8ad833e0d6c9c6ba83.tar.xz
coreboot-d06258c515b7e337ab819f8ad833e0d6c9c6ba83.zip
build system: add manual board id support
This patch adds manual board id support to coreboot and selects manual board ids vs automatic (ie strap based) where appropriate in the mainboards. CQ-DEPEND=CL:262935 BRANCH=none BUG=chrome-os-partner:37593 TEST=emerge-urara coreboot, see no board_id file emerge-buranku coreboot, see board_id file Change-Id: Ia04e5498a01f35c5418698ecaf3197f56415e789 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 3bdb1fa092005be24de9fc68998053982648da85 Original-Change-Id: I4f0820233a485bf92598a739b81be2076d4e6ae7 Original-Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/262745 Original-Reviewed-by: Vadim Bendebury <vbendeb@google.com> Reviewed-on: http://review.coreboot.org/9905 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 9ef29d6c0..985146119 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -621,6 +621,13 @@ $(obj)/coreboot.pre: $(objcbfs)/romstage.elf $(obj)/coreboot.pre1 $(CBFSTOOL)
$(CBFSTOOL_PRE_OPTS)
mv $@.tmp $@
+cbfs-files-$(CONFIG_BOARD_ID_MANUAL) += board_id
+board_id-file := $(obj)/board_id
+board_id-type := raw
+
+$(obj)/board_id:
+ printf "$(CONFIG_BOARD_ID_STRING)" > $@
+
JENKINS_PAYLOAD=none
what-jenkins-does:
util/abuild/abuild -B -J $(if $(JENKINS_NOCCACHE),,-y) -c 4 -z -p $(JENKINS_PAYLOAD)