summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-08-22 14:39:29 +0200
committerFulup Ar Foll <fulup@iot.bzh>2017-08-22 14:39:29 +0200
commita93168b0402a84e2033dad6f309dfb14f5fd6d64 (patch)
treeaa467d053d68fdc767ce085a5b372bfc58fb366b /conf.d
parent900bb5fd6b48a83c636e61a400464725b41e0d96 (diff)
Update to latest template, rename doscript- in debug-
Diffstat (limited to 'conf.d')
-rwxr-xr-xconf.d/autobuild/agl/autobuild5
-rwxr-xr-xconf.d/autobuild/linux/autobuild5
-rw-r--r--conf.d/project/lua.d/debug-helloworld.lua (renamed from conf.d/project/lua.d/doscript-helloworld.lua)0
3 files changed, 8 insertions, 2 deletions
diff --git a/conf.d/autobuild/agl/autobuild b/conf.d/autobuild/agl/autobuild
index 759f6be..4811441 100755
--- a/conf.d/autobuild/agl/autobuild
+++ b/conf.d/autobuild/agl/autobuild
@@ -18,7 +18,7 @@ THISFILE := $(lastword $(MAKEFILE_LIST))
BUILD_DIR := $(abspath $(dir $(THISFILE)/../../../../..)/build)
DEST := ${BUILD_DIR}/target
-.PHONY: all clean distclean configure build package help
+.PHONY: all clean distclean configure build package help update
all: help
@@ -35,6 +35,9 @@ help:
@echo "Usage: ./conf.d/autobuild/agl/autobuild package DEST=${HOME}/opt"
@echo "Don't use your build dir as DEST as wgt file is generated at this location"
+update: configure
+ @cmake --build ${BUILD_DIR} --target autobuild
+
clean:
@([ -d ${BUILD_DIR} ] && make -C ${BUILD_DIR} clean) || echo Nothing to clean
diff --git a/conf.d/autobuild/linux/autobuild b/conf.d/autobuild/linux/autobuild
index 759f6be..4811441 100755
--- a/conf.d/autobuild/linux/autobuild
+++ b/conf.d/autobuild/linux/autobuild
@@ -18,7 +18,7 @@ THISFILE := $(lastword $(MAKEFILE_LIST))
BUILD_DIR := $(abspath $(dir $(THISFILE)/../../../../..)/build)
DEST := ${BUILD_DIR}/target
-.PHONY: all clean distclean configure build package help
+.PHONY: all clean distclean configure build package help update
all: help
@@ -35,6 +35,9 @@ help:
@echo "Usage: ./conf.d/autobuild/agl/autobuild package DEST=${HOME}/opt"
@echo "Don't use your build dir as DEST as wgt file is generated at this location"
+update: configure
+ @cmake --build ${BUILD_DIR} --target autobuild
+
clean:
@([ -d ${BUILD_DIR} ] && make -C ${BUILD_DIR} clean) || echo Nothing to clean
diff --git a/conf.d/project/lua.d/doscript-helloworld.lua b/conf.d/project/lua.d/debug-helloworld.lua
index 7a41971..7a41971 100644
--- a/conf.d/project/lua.d/doscript-helloworld.lua
+++ b/conf.d/project/lua.d/debug-helloworld.lua