summaryrefslogtreecommitdiffstats
path: root/conf.d/autobuild/agl
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-29 15:42:09 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-09-01 13:43:27 +0200
commit795267e2c409a7c268fe0588ad9739b75def7620 (patch)
tree7d8090f32da169b1c31c06c298073b10b26cfe60 /conf.d/autobuild/agl
parentaf6194c2b3829b4e13fe2fff1232250e46169afb (diff)
Install step created by app-templates submodule
Change-Id: Iaaf81d6700b09c5a40446df41435a02e198ee3e0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/autobuild/agl')
-rwxr-xr-xconf.d/autobuild/agl/autobuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf.d/autobuild/agl/autobuild b/conf.d/autobuild/agl/autobuild
index 759f6be4..48114411 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