diff options
author | Bill Richardson <wfrichar@chromium.org> | 2016-09-30 11:39:35 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-10-02 18:59:22 -0700 |
commit | b5b06e4ac9f5ee5ccc19ec2d917c593be5bf4963 (patch) | |
tree | 1720e849c0e5bc8ebe0236906e193bec20611a71 /chip | |
parent | fd88db3e9a9b922fd73ebb4a446f0289bd7ab8f5 (diff) | |
download | chrome-ec-b5b06e4ac9f5ee5ccc19ec2d917c593be5bf4963.tar.gz |
Cr50: fix CR50_DEV=1 override
Commit 9e7c12b added a command-line option to "make" to build
development versions of the Cr50 board. This makes the symbol
definition useful in makefiles and not just C code.
BUG=chrome-os-partner:57408
BRANCH=none
TEST=make buildall; try on Gru with and without CR50_DEV=1
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Change-Id: Id0719d63263b00e192a2e4866dbe1551ae49e23c
Reviewed-on: https://chromium-review.googlesource.com/391127
Commit-Ready: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/g/build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/g/build.mk b/chip/g/build.mk index 6e71d6f210..095b1790aa 100644 --- a/chip/g/build.mk +++ b/chip/g/build.mk @@ -108,7 +108,7 @@ CR50_RW_KEY = loader-testkey-A.pem SIGNER = $(out)/util/signer SIGNER_EXTRAS = else -CFLAGS += -DCR50_DEV=1 +CPPFLAGS += -DCR50_DEV=1 SIGNER = $(HOME)/bin/codesigner CR50_RW_KEY = cr50_rom0-dev-blsign.pem.pub RW_SIGNER_EXTRAS = -x util/signer/fuses.xml |