[coreboot-gerrit] Change in coreboot[master]: Makefile.inc: Update build.h on git change

Patrick Rudolph (Code Review) gerrit at coreboot.org
Sun Mar 25 17:36:41 CEST 2018


Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/25348


Change subject: Makefile.inc: Update build.h on git change
......................................................................

Makefile.inc: Update build.h on git change

Update the coreboot version if something in .git changed, too.
Allows to gather the correct git sha1 using dmidecode -t0.

Tested on Lenovo T430.

Change-Id: Iddafcf8644ce4db7940a327530e5c50fd054545a
Signed-off-by: Patrick Rudolph <siro at das-labor.org>
---
M Makefile.inc
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/25348/1

diff --git a/Makefile.inc b/Makefile.inc
index b11f6e2..73058d3 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -456,7 +456,7 @@
 
 #######################################################################
 # generate build support files
-$(obj)/build.h: .xcompile
+$(obj)/build.h: .xcompile .git/**/*
 	@printf "    GEN        build.h\n"
 	rm -f $(obj)/build.h
 	util/genbuild_h/genbuild_h.sh > $(obj)/build.ht

-- 
To view, visit https://review.coreboot.org/25348
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iddafcf8644ce4db7940a327530e5c50fd054545a
Gerrit-Change-Number: 25348
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <siro at das-labor.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180325/da04bd8a/attachment.html>


More information about the coreboot-gerrit mailing list