jerryscript-project / iotjs

Platform for Internet of Things with JavaScript http://www.iotjs.net
Other
2.59k stars 439 forks source link

build: Fix mistake while testing TARGET_BOARD #1892

Closed rzr closed 5 years ago

rzr commented 5 years ago

Preprocessor can't use == on strings", so new symbols are introduced to test configurations at build time.

Note, this mistake was harmless because there weren't any spefic parts among boards, but this will change in upcoming change.

Change-Id: I45d87cccc086af05661eaf7b762a4a0274fb2ede Relate-to: https://github.com/rzr/webthing-iotjs/issues/3 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com

galpeter commented 5 years ago

Thanks! LGTM