summaryrefslogtreecommitdiff
path: root/cts/interrupt
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2019-03-26 14:57:54 -0700
committerVadim Bendebury <vbendeb@chromium.org>2019-09-21 19:11:24 -0700
commitd2aa31110c2a73883be465e4b591404f41711189 (patch)
tree60d007d64bcbb0f278eacef718784e06caac4077 /cts/interrupt
parentf6bea2fc727b39073cdaac079896b6c00284a427 (diff)
downloadchrome-ec-d2aa31110c2a73883be465e4b591404f41711189.tar.gz
cr50: rebuild board image if essential make variables change
When building Cr50 board image, some make variables get converted into compilation flags, which affect image composition. Changes of these variables go unnoticed as they do not directly affect make dependencies. Let's define the set of essential variables in ENV_VARS, and save the state of these variables at build time in a generated .h file, updating it only if any of the variables' values changed since the previous make run. The generated .h file is included in board.h, which guarantees that files dependent on board.h are recompiled if the generated .h file changes. BRANCH=cr50 BUG=none TEST=verified that changing of CR50_DEV and/or H1_RED_BOARD or CR50_SQA values triggers full rebuild of the Cr50 image. Verified that 'emerge-atlas ec-utils' also succeeds. Change-Id: Id0589a3b6a66fe4da90a9aea894bc83eb6337c8c Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/707915 Reviewed-by: Keith Short <keithshort@chromium.org> (cherry picked from commit 22b1008446791f31d8841b8ae43bbbc0f4d9f143) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1657316 (cherry picked from commit 3d79ec33402e658cb1d43cdd28fa7f2290b01c41) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1705731 (cherry picked from commit de69550b8be74e76fd30216f8dce588b9d5e64f4)
Diffstat (limited to 'cts/interrupt')
0 files changed, 0 insertions, 0 deletions