diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-07-10 16:14:02 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | fb95249a8a4a214f065cb459ed0579907d44004c (patch) | |
tree | 822cbc49d0dbef65343994bc46f392bb374463cf /autobuild/agl/autobuild.in | |
parent | 99b807f475ad71582b15c06df5e09593d2043d2f (diff) |
Add an help target used by default
Change-Id: Ifdf1d3968964a8d66ac218aa8d28b18bb0e94404
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'autobuild/agl/autobuild.in')
-rwxr-xr-x | autobuild/agl/autobuild.in | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/autobuild/agl/autobuild.in b/autobuild/agl/autobuild.in index d77cb7b..759f6be 100755 --- a/autobuild/agl/autobuild.in +++ b/autobuild/agl/autobuild.in @@ -18,9 +18,22 @@ THISFILE := $(lastword $(MAKEFILE_LIST)) BUILD_DIR := $(abspath $(dir $(THISFILE)/../../../../..)/build) DEST := ${BUILD_DIR}/target -.PHONY: all clean distclean configure build package - -all: build +.PHONY: all clean distclean configure build package help + +all: help + +help: + @echo "List of targets available:" + @echo "" + @echo "- all" + @echo "- clean" + @echo "- distclean" + @echo "- configure" + @echo "- build" + @echo "- package" + @echo "" + @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" clean: @([ -d ${BUILD_DIR} ] && make -C ${BUILD_DIR} clean) || echo Nothing to clean |