summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2016-09-13 12:42:40 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-09-13 22:22:25 -0700
commit9e7c12b74e96ca123865b0ac4ca96b32aad548a7 (patch)
tree5d8e124f8ec9d9974914f486006be3a5726724b0 /common
parent1cdd2d52fce3c8689b0357c424bf77a3e72625d4 (diff)
downloadchrome-ec-9e7c12b74e96ca123865b0ac4ca96b32aad548a7.tar.gz
Cr50: #define CR50_DEV in source when used manually
We want the default build to be ready for production use, without any unlocked security features, development-only tests, etc. Running "make buildall" or "make BOARD=cr50" builds the default (production) image. To build a development image, use CR50_DEV=1 make BOARD=cr50 This CL adds "-DCR50_DEV=$(CR50_DEV)" to the CFLAGS for use in compiled code. BUG=chrome-os-partner:55557 BRANCH=none TEST=make buildall Verify that #ifdef CR50_DEV [stuff] #endif works inside C code. Change-Id: Id5e16e9ba0135828f4365fc1ac4a23384f30ba01 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/385059 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions