[coreboot-gerrit] New patch to review for coreboot: top/Makefile.inc: Give BUILD_TIMELESS a default value
Zheng Bao (zheng.bao@amd.com)
gerrit at coreboot.org
Fri Mar 11 11:01:24 CET 2016
Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14036
-gerrit
commit 2a20f0962fb2993a149abf2b63c95907c6ebf5e8
Author: zbao <fishbaozi at gmail.com>
Date: Fri Mar 11 18:00:21 2016 +0800
top/Makefile.inc: Give BUILD_TIMELESS a default value
The genbuild_h.sh can not get the definition in Makefile
and the BUILD_TIMELESS in script is empty, unless it is
pre-defined.
GEN build.h
util/genbuild_h/genbuild_h.sh: 27: [: Illegal number:
Change-Id: I2009bf26e9d3d5bb74ba4cb5883aa7f975e71832
Signed-off-by: Zheng Bao <fishbaozi at gmail.com>
---
Makefile.inc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index a07f92a..7979193 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -30,6 +30,7 @@ export KERNELVERSION := $(strip $(if $(GIT),\
$(if $(wildcard $(top)/.coreboot-version),\
$(shell cat $(top)/.coreboot-version),\
coreboot-unknown$(KERNELREVISION))))
+BUILD_TIMELESS=0
endif
#######################################################################
@@ -360,7 +361,7 @@ additional-dirs := $(objutil)/cbfstool $(objutil)/romcc $(objutil)/ifdtool \
$(obj)/build.h: .xcompile
@printf " GEN build.h\n"
rm -f $(obj)/build.h
- util/genbuild_h/genbuild_h.sh > $(obj)/build.ht
+ BUILD_TIMELESS=$(BUILD_TIMELESS) util/genbuild_h/genbuild_h.sh > $(obj)/build.ht
mv $(obj)/build.ht $(obj)/build.h
build-dirs:
More information about the coreboot-gerrit
mailing list