mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
Makefile.rules: Fix build timestamp.
The ec_date.h file had incorrect dependencies. $(objs) had no meaning outside of the building the object files as it gets privately overidden with the corresponding target objects (RO, RW, libsharedobjs). This caused ec_date.h to only be generated once from a clean. This commit fixes that by adding all of the RO and RW objects as dependencies (with the exception of version.o). BUG=chrome-os-partner:43373 BRANCH=None TEST=Built ryu, checked build timestamp in build_info. Touched a file, rebuilt, verified that build timestamp was updated. TEST=make -j buildall tests Change-Id: I0ab107efc1a504b4f871ebcf595754db1d414c7a Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/289338 Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org> Trybot-Ready: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
0c58b18fd3
commit
9008c7a4fd
@@ -274,7 +274,7 @@ $(out)/ec_version.h:
|
||||
$(out)/RO/common/version.o: $(out)/ec_date.h
|
||||
$(out)/RW/common/version.o: $(out)/ec_date.h
|
||||
|
||||
$(out)/ec_date.h: $(filter-out $(out)/%/common/version.o,$(objs))
|
||||
$(out)/ec_date.h: $(filter-out $(out)/%/common/version.o,$(ro-objs) $(rw-objs))
|
||||
$(call quiet,date,DATE )
|
||||
|
||||
$(out)/gen_pub_key.h: $(PEM)
|
||||
|
||||
Reference in New Issue
Block a user