aboutsummaryrefslogtreecommitdiff
path: root/fragments
diff options
context:
space:
mode:
authorBrian Jones <brian.j.jones@intel.com>2016-12-01 09:34:10 -0800
committerGeoff Gustafson <geoff@linux.intel.com>2016-12-01 09:34:10 -0800
commitd33bd422aaa8dcd36c437c3b7069493ba452bdc0 (patch)
tree7f49e5cec7aad184cfc9c6a66eccecb4e385ba32 /fragments
parentbb4c642ad85b43344444875c6d63be15f60016fc (diff)
[makefile] Adding configuration file support for the build (#462)
Now make can be given CONFIG=zjs.conf (or whatever file you choose) to indicate you want certain modules to be built in. This allows you to build modules that aren't included in your Javascript file. This will also allow us to build ashell, linux, etc with only the modules we want rather than all of them. In the future we can remove the #ifdef BUILD_MODULE* from the src files as they simply won't be included in the build rather than commented out. Signed-off-by: Brian J Jones <brian.j.jones@intel.com>
Diffstat (limited to 'fragments')
-rw-r--r--fragments/zjs.conf.dev17
1 files changed, 17 insertions, 0 deletions
diff --git a/fragments/zjs.conf.dev b/fragments/zjs.conf.dev
new file mode 100644
index 0000000..35ef070
--- /dev/null
+++ b/fragments/zjs.conf.dev
@@ -0,0 +1,17 @@
+# To force inclusion of a module remove the # in front of it
+
+ZJS_AIO=y
+ZJS_ARDUINO101_PINS=y
+ZJS_BLE=y
+ZJS_BUFFER=y
+ZJS_CONSOLE=y
+ZJS_EVENTS=y
+ZJS_GPIO=y
+#ZJS_GROVE_LCD=y
+ZJS_I2C=y
+#ZJS_OCF=y
+#ZJS_PERFORMANCE=y
+ZJS_PWM=y
+#ZJS_SENSOR=y
+ZJS_TIMERS=y
+ZJS_UART=y