apps/app-templates.git
6 years agoUpdate doc and README with latest modifications
Romain Forlot [Fri, 25 Aug 2017 00:26:42 +0000 (02:26 +0200)]
Update doc and README with latest modifications

Change-Id: I7b42fe371b6912de9df42a76781a8886dd804b3d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoGeneric default CLOSING_MESSAGE in sample config
Romain Forlot [Fri, 25 Aug 2017 00:04:13 +0000 (02:04 +0200)]
Generic default CLOSING_MESSAGE in sample config

Change-Id: I6886b4d7844e208f3f996418d9658567e8d8f135
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoIndent
Romain Forlot [Fri, 25 Aug 2017 00:02:56 +0000 (02:02 +0200)]
Indent

Change-Id: Ie333025c5f68c5121a4445308858441e60b17696
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoComment apparently uneeded section.
Romain Forlot [Fri, 25 Aug 2017 00:02:40 +0000 (02:02 +0200)]
Comment apparently uneeded section.

Let's see if used.

Change-Id: Iaa5cf37f0a7964e797cdc99c9d7bdbb93f8b54e4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoChange luac option to do only syntax checking
Romain Forlot [Thu, 24 Aug 2017 17:04:35 +0000 (19:04 +0200)]
Change luac option to do only syntax checking

Change-Id: I20769279e08927d0a9d8bfbbc2691719e7a5475a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: use of filter in Cmake 3.5
Romain Forlot [Thu, 24 Aug 2017 17:04:22 +0000 (19:04 +0200)]
Fix: use of filter in Cmake 3.5

Need using a variable for regex...

Change-Id: Ie5b050a3588dec10d0cc4365aa7272a90f10eb30
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: mistaped
Romain Forlot [Thu, 24 Aug 2017 16:34:08 +0000 (18:34 +0200)]
Fix: mistaped

Change-Id: I6252ed2ed8defaba8d848ce0d500a8a83be4cd90
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: luac invokation failed.
Romain Forlot [Thu, 24 Aug 2017 16:14:48 +0000 (18:14 +0200)]
Fix: luac invokation failed.

Wrong way to use command argument in cmake variable

Change-Id: I9a334a509d109d9243c7e8211a686757821fcb30
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoWorkaround to bugged list filter backport function
Romain Forlot [Thu, 24 Aug 2017 16:05:10 +0000 (18:05 +0200)]
Workaround to bugged list filter backport function

Change-Id: I520bcb09add89567083f0c06bde92dae08206c50
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: wrong variable detection
Romain Forlot [Wed, 23 Aug 2017 15:18:40 +0000 (17:18 +0200)]
Fix: wrong variable detection

Change-Id: Idc736c60f51e20640476202996121eefef8b8210
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoOS detection to fallback instead of addition
Romain Forlot [Wed, 23 Aug 2017 15:14:45 +0000 (17:14 +0200)]
OS detection to fallback instead of addition

Instead of include a default cmake file in addition of the
others, use it as fallback if any other cmake file doesn't
match

Change-Id: Ib46e0e64a5f485dcad4e41f092936484da83b7f4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoEnhances OS detection with Yocto and SDK
Romain Forlot [Wed, 23 Aug 2017 14:44:00 +0000 (16:44 +0200)]
Enhances OS detection with Yocto and SDK

Change-Id: I27f70c3ef9f16d918353e00c0535351bd738df82
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFormat: Remove spaces at EOL
Romain Forlot [Wed, 23 Aug 2017 08:55:56 +0000 (10:55 +0200)]
Format: Remove spaces at EOL

Change-Id: If16b9cd45e5955b8ca8049fee1ea97a9d43d5cb7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoBetter OS detection.
Romain Forlot [Tue, 22 Aug 2017 10:10:56 +0000 (12:10 +0200)]
Better OS detection.

Only take ID_LIKE field if it exists else ID. Doing some
stripping also to get a cleaner output variable

Change-Id: If5c44bf21c3435bd4739cfd34190a81d28dd10d3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFormat, improve config.cmake.sample file
Romain Forlot [Tue, 22 Aug 2017 08:15:43 +0000 (10:15 +0200)]
Format, improve config.cmake.sample file

Change-Id: I6683ac65ea12d697b29adf6d7af1d6939102867d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd macros to make a 2nd pass on required module
Romain Forlot [Mon, 21 Aug 2017 20:33:03 +0000 (22:33 +0200)]
Add macros to make a 2nd pass on required module

Useful when adding module dependant of distro as they do not
named their packages the same way...

Change-Id: I0422ce4cdad48f9e815d24510376ad11941d5e3d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoBetter OS detection and inclusion per distribution
Romain Forlot [Fri, 18 Aug 2017 18:22:06 +0000 (20:22 +0200)]
Better OS detection and inclusion per distribution

Change-Id: I6f479353df990eb2ff9030b7427d48bb72f0416f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoDon't output compiled lua file when checked.
Romain Forlot [Mon, 21 Aug 2017 13:12:59 +0000 (15:12 +0200)]
Don't output compiled lua file when checked.

Change-Id: I062bbb8c1342f189406ac1295baa5fb6e7c5eb1a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoInstall automatically managed for populate targets
Romain Forlot [Sun, 20 Aug 2017 15:02:03 +0000 (17:02 +0200)]
Install automatically managed for populate targets

All populated targets will install in CMAKE_INSTALL_PREFIX/PROJECT_NAME

Change-Id: I37df0c6dfde34a04e515e70b06f56929bd76c51a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: BINDINGV2 target not populated
Romain Forlot [Sun, 20 Aug 2017 14:52:00 +0000 (16:52 +0200)]
Fix: BINDINGV2 target not populated

Miss dependencies...

Change-Id: Ief8a5c764a6a36c042eebbd66b83f12e2f08b36a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoBetter handling icon&config.xml to build widget
Romain Forlot [Fri, 18 Aug 2017 15:20:09 +0000 (17:20 +0200)]
Better handling icon&config.xml to build widget

Default value set

Change-Id: Ie1370ff9e89bb80044fc847b4cf37ba19314ecc1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCleaning, format
Romain Forlot [Fri, 18 Aug 2017 14:44:08 +0000 (16:44 +0200)]
Cleaning, format

Change-Id: I0328f500867636bf13289bc2a9d7f8d5a9f7e060
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoDuplicate variable meant to set installation dir
Romain Forlot [Fri, 18 Aug 2017 12:56:39 +0000 (14:56 +0200)]
Duplicate variable meant to set installation dir

Remove BINDING_INSTALL_PREFIX variable

Change-Id: Ia5be7f18a66b3667f03edb265caccc515e0490b2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMake CMake minimal version to at least v3.5
Romain Forlot [Fri, 18 Aug 2017 10:40:58 +0000 (12:40 +0200)]
Make CMake minimal version to at least v3.5

Backport list(filter cmake subcommand as macro

Change-Id: I7736e18ee2618e1977dd968636be84afc31bcc88
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoRemove JSON checker not suitable for schema check
Romain Forlot [Fri, 18 Aug 2017 08:31:05 +0000 (10:31 +0200)]
Remove JSON checker not suitable for schema check

Change-Id: Iba8dcd35290ab43ffc3aeaeb91cf40b6af1268b8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdded per project custom template dir
Romain Forlot [Thu, 17 Aug 2017 14:12:03 +0000 (16:12 +0200)]
Added per project custom template dir

Change-Id: I5175b45a0d493724492157af2d32f4e51a04665f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: missing dev pkg files error. Now well checked
Romain Forlot [Thu, 17 Aug 2017 12:58:13 +0000 (14:58 +0200)]
Fix: missing dev pkg files error. Now well checked

Change-Id: I2c429322990f5a4f0ba192c49502026f4b37dd1d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoPersonal files inclusion now by projects.
Romain Forlot [Wed, 16 Aug 2017 16:33:46 +0000 (18:33 +0200)]
Personal files inclusion now by projects.

Depending on file name you can include some files from your
home or system by project or globally

Change-Id: I1fef678073977633576a21893065e681b286646c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix new arbo
Romain Forlot [Wed, 16 Aug 2017 16:40:18 +0000 (18:40 +0200)]
Fix new arbo

Wrong path to the scripts

Change-Id: I0cc0cf9aaa374b5e130008c65f590cee458a7f39
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoReorganization between variables/build options
Romain Forlot [Wed, 16 Aug 2017 07:38:39 +0000 (09:38 +0200)]
Reorganization between variables/build options

Move compilation/link option to build options and all custom
variables stuff in variable file. Make build options as first
file to be included then all custom stuff.

Change-Id: I530268574745edcc414e29cac59eb542954d73cc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAvoid wrong OPENAPI_DEF variable definition
Romain Forlot [Tue, 15 Aug 2017 17:04:50 +0000 (19:04 +0200)]
Avoid wrong OPENAPI_DEF variable definition

Change-Id: I6b38cc6af5a3cb5b86b445149345cd65082ccc8b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoBetter handling of icons
Romain Forlot [Tue, 15 Aug 2017 17:04:26 +0000 (19:04 +0200)]
Better handling of icons

Use custom icon if needed or default one if none

Change-Id: Ieaa096e3bf40f202e5204dbb48a977edc074d24b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoEase standard target DATA and HTDOCS creation
Romain Forlot [Tue, 15 Aug 2017 17:03:55 +0000 (19:03 +0200)]
Ease standard target DATA and HTDOCS creation

This will create a custom target which make sure input
files are correct (linting or compiling them) then copying
them into the target build dir

Change-Id: I1d346d4611a6d97682a00d2038de41a643b28928
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoExtending pluggable arch for templates
Romain Forlot [Thu, 10 Aug 2017 16:25:48 +0000 (18:25 +0200)]
Extending pluggable arch for templates

Idea is to be able to use custom templates from home dir and system dir

Change-Id: I74b48458f3dcc26b49f8144e042c213691028167
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate documentation about properties
Romain Forlot [Tue, 15 Aug 2017 13:58:09 +0000 (15:58 +0200)]
Update documentation about properties

Change-Id: Id5f3349889d0b26ebec7e3a90a549b0ceb4fb493
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoBe able to choose openAPI definition file name.
Romain Forlot [Fri, 11 Aug 2017 08:16:05 +0000 (10:16 +0200)]
Be able to choose openAPI definition file name.

Use a variable OPENAPI_DEF to define the file name else use the default
convention ${OUTPUT_NAME}-apidef.
Update the docs in consequence.

Change-Id: Ibc29d6079d185e47a80dbfe4df5dedd28f7f63c4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: make install double files in build dir.
Romain Forlot [Thu, 10 Aug 2017 16:47:12 +0000 (18:47 +0200)]
Fix: make install double files in build dir.

Default install prefix to /usr/local then.

Change-Id: I6c53e3055a3a9f7d44d24480695014b1c9a435ae
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: wrong link libraries dependencies var name
Romain Forlot [Thu, 10 Aug 2017 16:42:50 +0000 (18:42 +0200)]
Fix: wrong link libraries dependencies var name

Change-Id: Idbdb781c0cb7ab9a6df4b821868587bfaa8e3c2f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate README/docs with new LABELS BINDINGV2 infos
Romain Forlot [Thu, 10 Aug 2017 12:34:34 +0000 (14:34 +0200)]
Update README/docs with new LABELS BINDINGV2 infos

Change-Id: I419c02d9ab5ef785d3103b2e043d4df9fa244a6c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoChange compilation flags setup.
Romain Forlot [Thu, 10 Aug 2017 09:51:35 +0000 (11:51 +0200)]
Change compilation flags setup.

Use CMAKE cache variables other than defaults ones to don't be in
conflict and iterates over them with add_compile_options command

Change-Id: I5e62ab1a340aca15eafeb687998c06e13a571357
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoGenerate .h from OpenAPI json description file
Romain Forlot [Wed, 9 Aug 2017 16:44:16 +0000 (18:44 +0200)]
Generate .h from OpenAPI json description file

Use a new label BINDINGV2 that create a new target
${TARGET}_GENSKEL before build ${TARGET}.

Change-Id: I358e65f0340ac051217cb19a4554f6165af061df
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoNo optimization in DEBUG build configuration
Romain Forlot [Tue, 8 Aug 2017 11:45:06 +0000 (13:45 +0200)]
No optimization in DEBUG build configuration

Optimization complicate debugging.

Change-Id: Ib000c36fd599b544ef96be9de35527baecf022e3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFormat and Make CMake dependencies cleaner.
Romain Forlot [Tue, 8 Aug 2017 09:51:05 +0000 (11:51 +0200)]
Format and Make CMake dependencies cleaner.

Use CMake recommended way to specifies target dependencies.
As well add dependencies on needed files or directories in custom_command.

Change-Id: I617e54a4c312336ea1cf306409456fbc55be7fa5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFixed target-populate dependencies and update native-remote debug 67/10467/1
Fulup Ar Foll [Mon, 31 Jul 2017 16:36:42 +0000 (18:36 +0200)]
Fixed target-populate dependencies and update native-remote debug

Change-Id: Ia041caa86dd57af48ae6ee53f26fb0be86f95e88
Signed-off-by: Fulup Ar Foll <fulup@iot.bzh>
6 years agoFix logic bug in addition of -DKERNEL_MINIMAL_VERSION 09/10409/1
Jan-Simon Möller [Wed, 26 Jul 2017 18:47:40 +0000 (20:47 +0200)]
Fix logic bug in addition of -DKERNEL_MINIMAL_VERSION

-DKERNEL_MINIMAL_VERSION_OK was always set.
Move it into else case.

Change-Id: Icc7e0982584bce6134611a7724e9d1ef36602360
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
6 years agoComment
Romain Forlot [Tue, 25 Jul 2017 11:51:28 +0000 (13:51 +0200)]
Comment

Change-Id: I5a78f103c29c3535d332172ee0b0547de79cc193
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years ago2 Kernel checks available (warning or mandatory)
Romain Forlot [Tue, 25 Jul 2017 10:40:02 +0000 (12:40 +0200)]
2 Kernel checks available (warning or mandatory)

Use 2 differents checks, one specify a mandatory kernel version
and the other will output a warning and position a preprocessing
variable that can be used in the code to exclude portions of code
that use kernel features not available under a certain version.

Change-Id: Ifc6848df1a1a448094f5312ea23e6d4837e8ef14
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoChange compile flag and clearer to read
Romain Forlot [Tue, 25 Jul 2017 10:31:49 +0000 (12:31 +0200)]
Change compile flag and clearer to read

Use -O0 with DEBUG instead of -0g

Change-Id: I100e2188b34f3506d400379808ce875a4817be8d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoProject cmake file have precedence on home & sys
Romain Forlot [Fri, 21 Jul 2017 08:51:49 +0000 (10:51 +0200)]
Project cmake file have precedence on home & sys

Change-Id: Ied2c6e3c7f378b27a84229999b84dfc649a4e657
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoREADME: point to the correct CMakeLists.txt sample 97/10297/1
José Bollo [Fri, 21 Jul 2017 08:11:48 +0000 (10:11 +0200)]
README: point to the correct CMakeLists.txt sample

Change-Id: I4aad3403f190bf2033355a827e0e6fa5c1f7fe6d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
6 years agoREADME: update git repo url 95/10295/1
José Bollo [Fri, 21 Jul 2017 07:53:16 +0000 (09:53 +0200)]
README: update git repo url

Change-Id: I0c4a46c779d95a68c930e0747a17903352fe9bdb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
6 years agoAdd possibility to customize option at link.
Romain Forlot [Thu, 20 Jul 2017 13:56:35 +0000 (15:56 +0200)]
Add possibility to customize option at link.

Credit to Ronan Le Martret.

Change-Id: I5ea24a275df6726f87ce5e87abbb2cfc6d029f28
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: bad afb-daemon flag, disable auto answer 'no'
Romain Forlot [Wed, 19 Jul 2017 16:49:37 +0000 (18:49 +0200)]
Fix: bad afb-daemon flag, disable auto answer 'no'

Change-Id: I3ee63512433c869fdd809ee1b6571205cd07a4e1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years ago-pg flags belongs to profiling more than debug
Romain Forlot [Tue, 18 Jul 2017 16:27:33 +0000 (18:27 +0200)]
-pg flags belongs to profiling more than debug

Change-Id: Iab550cc5653c7ef1094a8960aca9ca64f1aee1a4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd group AGL to spec file 75/10175/1
Ronan Le Martret [Wed, 12 Jul 2017 15:35:13 +0000 (17:35 +0200)]
Add group AGL to spec file

Change-Id: I2f667226a372a721b0bb4067ee6e0779a10c6432
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoRemove rpm macro "%__make", use "make" instead 73/10173/1
Ronan Le Martret [Wed, 12 Jul 2017 15:30:21 +0000 (17:30 +0200)]
Remove rpm macro "%__make", use "make" instead

Change-Id: I6e2c77b1a21aeaa127e12fe5e1464a59f71e996f
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoLinux autobuild script more verbose and usable
Romain Forlot [Tue, 11 Jul 2017 07:15:40 +0000 (09:15 +0200)]
Linux autobuild script more verbose and usable

Adding a help message and ensure DEST variable is set

Change-Id: I486c6a21b41c2912e92007ee522af6fe4e8ceb71
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd an help target used by default
Romain Forlot [Mon, 10 Jul 2017 14:14:02 +0000 (16:14 +0200)]
Add an help target used by default

Change-Id: Ifdf1d3968964a8d66ac218aa8d28b18bb0e94404
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: crash if no DEST argument provided
Romain Forlot [Mon, 10 Jul 2017 14:13:43 +0000 (16:13 +0200)]
Fix: crash if no DEST argument provided

Change-Id: I21d426f0ed5cc6b0a8edf0ebb9ce3a69ab313d0b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: shared library files not found by gdb 37/10137/2
Romain Forlot [Mon, 10 Jul 2017 12:09:36 +0000 (14:09 +0200)]
Fix: shared library files not found by gdb

Old behavior assume a PATH that do not exists using XDS-server
this patch intends to make a list of bindings using a regex,
as GDB interprets the argument.

Change-Id: I67caa1853be67813e8de02cdbb34f107f1e1676c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFormat
Romain Forlot [Mon, 10 Jul 2017 11:52:02 +0000 (13:52 +0200)]
Format

Change-Id: Ib31c28da19c766c43fcbf9002d0aa1e9ecb370ac
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUse recommended way to specify target dependencies
Romain Forlot [Mon, 10 Jul 2017 11:51:49 +0000 (13:51 +0200)]
Use recommended way to specify target dependencies

Change-Id: I6a8e5d435a0540522de555f521d24aa4de21050d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix invalid widget dir in config sample 33/10133/1
Sebastien Douheret [Sun, 9 Jul 2017 19:30:11 +0000 (21:30 +0200)]
Fix invalid widget dir in config sample

Change-Id: I6f26d49137bfc567eaae17eb06ad77ce645ee95d
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoDefault execution flag on shell scripts templates.
Romain Forlot [Fri, 7 Jul 2017 16:12:49 +0000 (18:12 +0200)]
Default execution flag on shell scripts templates.

Change-Id: I3db694c9c25e3fa6002390fb497b157f078ddbd8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: also avoid cleaning generated packaging files
Romain Forlot [Fri, 7 Jul 2017 16:11:56 +0000 (18:11 +0200)]
Fix: also avoid cleaning generated packaging files

Change-Id: I312e0743e8faf03ecfc5b43c77a9edaf9b40d937
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: cleaning of autobuild script using make clean
Romain Forlot [Fri, 7 Jul 2017 15:54:36 +0000 (17:54 +0200)]
Fix: cleaning of autobuild script using make clean

Fake files output to avoid cleaning those files once generated.
Doing that target always trigger and regenerate files.

Change-Id: I514318e2f08b1db2bf4e75bd0f0bf15c09329907
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: cleaning generated additionals files
Romain Forlot [Fri, 7 Jul 2017 11:04:52 +0000 (13:04 +0200)]
Fix: cleaning generated additionals files

Change-Id: I979b699e6ce090b354d6271c549111c2bd44cd2d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd configured file to files to clean up with make
Romain Forlot [Fri, 7 Jul 2017 10:20:19 +0000 (12:20 +0200)]
Add configured file to files to clean up with make

Change-Id: Ibef0a4628bf3fe0b830f19fc8aa2f3e5d4b1ff19
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: wrong extension of configured files
Romain Forlot [Fri, 7 Jul 2017 10:04:20 +0000 (12:04 +0200)]
Fix: wrong extension of configured files

Remove the ".in" template extension from filenames which have to be
correctly named.

Change-Id: I8128f5fa64d5fa914a717c18fbba14fc43de4935
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd some reminder
Romain Forlot [Thu, 6 Jul 2017 17:06:15 +0000 (19:06 +0200)]
Add some reminder

Change-Id: I218b746a622cc0705be631292fc9e0c6154538eb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: Yocto cross compile flag same the last commit
Romain Forlot [Thu, 6 Jul 2017 15:47:09 +0000 (17:47 +0200)]
Fix: Yocto cross compile flag same the last commit

Change-Id: Id39653e23fddedd3f48a64d1d9badd6c7a1ef894
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix Yocto can't compile project using app-templates
Romain Forlot [Wed, 5 Jul 2017 16:41:46 +0000 (18:41 +0200)]
Fix Yocto can't compile project using app-templates

Change-Id: Id5a9c1ffa6f24278f16fceeed0ba7e46ed49b37d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: wrong macro name
Romain Forlot [Wed, 5 Jul 2017 14:56:07 +0000 (16:56 +0200)]
Fix: wrong macro name

Change-Id: Ia0af4453536509606f55a9557eff73a4d44e56ec
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoChanges build flags to be more accurate
Romain Forlot [Wed, 5 Jul 2017 14:56:00 +0000 (16:56 +0200)]
Changes build flags to be more accurate

Change-Id: I1139845c4d103935c75dbd24ab6a4c38d121bdea
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate doc & use gitbook to enhance doc generation
Romain Forlot [Tue, 4 Jul 2017 17:00:40 +0000 (19:00 +0200)]
Update doc & use gitbook to enhance doc generation

Change-Id: If42c916f7664ea67b818a21b8f50c66c41e11f89
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd a CMakeLists.txt file to be used as root file
Romain Forlot [Tue, 4 Jul 2017 16:47:34 +0000 (18:47 +0200)]
Add a CMakeLists.txt file to be used as root file

Change-Id: I62900402fe9d3ef0ff4f4f19793cb08a67b116dd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoChange location for custom CMake files and scripts
Romain Forlot [Tue, 4 Jul 2017 16:46:41 +0000 (18:46 +0200)]
Change location for custom CMake files and scripts

Use one additionnal level to put  all app-templates related files
in one directory.

Change-Id: Iec297d0070d8d47a4ce9e351bedb3ec45f691af4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: Kernel detection under Yocto build env
Romain Forlot [Thu, 29 Jun 2017 13:31:15 +0000 (15:31 +0200)]
Fix: Kernel detection under Yocto build env

Change-Id: I2b21a6c2b5c812736ab3e7a480cbaa3f547819fc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdding detection of a Yocto build environment
Romain Forlot [Thu, 29 Jun 2017 13:13:21 +0000 (15:13 +0200)]
Adding detection of a Yocto build environment

Change-Id: Id6a94153ada5b98a4a6d564859da8617ac636704
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
# Conflicts:
# cmake/cmake.d/01-variables.cmake

6 years agoFix deb packaging naming 43/9943/2
Ronan Le Martret [Wed, 28 Jun 2017 23:40:32 +0000 (01:40 +0200)]
Fix deb packaging naming

Change-Id: I8355dee83379c6c24e02104913fad5dcdebd95f0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoFix: handling DEST env var in autobuild scripts
Romain Forlot [Thu, 29 Jun 2017 08:48:47 +0000 (10:48 +0200)]
Fix: handling DEST env var in autobuild scripts

Change-Id: Idf24c1adf12698d4b5ac7950e3d3c2e25b1c3274
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: idem...
Romain Forlot [Thu, 29 Jun 2017 07:46:29 +0000 (09:46 +0200)]
Fix: idem...

Change-Id: Iacc2ecf8dafce07fa9b8e1a3b123acf85417d650
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: Debian things triggered even when use the SDK
Romain Forlot [Thu, 29 Jun 2017 07:44:17 +0000 (09:44 +0200)]
Fix: Debian things triggered even when use the SDK

USe variable reference not its value to test if defined

Change-Id: If59be00e2666d9e66f386fe0ca2cf39b386d0197
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMerge "Add pkg-config for deb packaging"
Romain Forlot [Wed, 28 Jun 2017 16:19:53 +0000 (16:19 +0000)]
Merge "Add pkg-config for deb packaging"

6 years agoFix: wrong variable expands at configure_file time
Romain Forlot [Wed, 28 Jun 2017 16:06:25 +0000 (18:06 +0200)]
Fix: wrong variable expands at configure_file time

Change-Id: Idcaae73f3e186a9646407ed61df3f1b7da6bf782
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoComments and README update
Romain Forlot [Wed, 28 Jun 2017 15:59:12 +0000 (17:59 +0200)]
Comments and README update

Change-Id: I5b790459cd17e5cebbc415df68f040a9863215a4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAutobuild scripts directory execution proof
Romain Forlot [Wed, 28 Jun 2017 14:41:56 +0000 (16:41 +0200)]
Autobuild scripts directory execution proof

autobuild scripts can be executed from anywhere we should
always have the build directory at the project root path.

Change-Id: I4b4be077c4ea986e054deb21f0b8a07d2db5e131
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUse variable to handle autobuild target directory
Romain Forlot [Wed, 28 Jun 2017 14:40:32 +0000 (16:40 +0200)]
Use variable to handle autobuild target directory

Change-Id: If544267154111148b4e279ad6937c60195b20e26
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: Debian detection, only valid in native env
Romain Forlot [Wed, 28 Jun 2017 16:10:46 +0000 (18:10 +0200)]
Fix: Debian detection, only valid in native env

Generate packaging files for Debian isn't available from
SDK. Only native and configured environment is supported
about now.

Change-Id: I70f6b19a4a04ecd7a902ef9d6f2300f4f98209a5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
# Conflicts:
# cmake/cmake.d/01-variables.cmake

6 years agoMove variable definition to the right place.
Romain Forlot [Wed, 28 Jun 2017 14:38:10 +0000 (16:38 +0200)]
Move variable definition to the right place.

Change-Id: I36c0ff6d5b65b5da1258bb9807a5476cba2e4280
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdd pkg-config for deb packaging 13/9913/1
Ronan Le Martret [Wed, 28 Jun 2017 15:30:44 +0000 (17:30 +0200)]
Add pkg-config for deb packaging

Change-Id: Idb5c754fb456c877274c06646b515cb9f7963a21
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agochange path etc/config.cmake to conf.d/cmake/config.cmake 89/9889/2
Ronan Le Martret [Wed, 28 Jun 2017 14:02:47 +0000 (16:02 +0200)]
change path etc/config.cmake to conf.d/cmake/config.cmake

Change-Id: I98d51ce911c51ced28760c53420ffdf474fe48f1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoFix: autobuild script typo
Romain Forlot [Wed, 28 Jun 2017 08:54:27 +0000 (10:54 +0200)]
Fix: autobuild script typo

Change-Id: I3027ba7bd6fa98755e888152c860812cf0fd5908
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCustom targets depends on input files
Romain Forlot [Wed, 28 Jun 2017 08:54:13 +0000 (10:54 +0200)]
Custom targets depends on input files

Change-Id: I315df31ac299cf43c9bf7c5d7ee0043f65c5946c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: multiline COMMAND not supported...
Romain Forlot [Wed, 28 Jun 2017 07:55:15 +0000 (09:55 +0200)]
Fix: multiline COMMAND not supported...

Change-Id: Ic5bedd44fc032c07952b46b6c773c986fd641ad9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agotemplated autobuild script generation.
Romain Forlot [Wed, 28 Jun 2017 07:49:50 +0000 (09:49 +0200)]
templated autobuild script generation.

Change-Id: Ie7e411f30a30e073570c546aeec6ee05972f8e2a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdding autobuild generation target
Romain Forlot [Tue, 27 Jun 2017 16:59:10 +0000 (18:59 +0200)]
Adding autobuild generation target

Change-Id: Idb231d005abbca3eb0a779320ab2382f6ff81108
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoBack to previous populate http and data behavior
Romain Forlot [Tue, 27 Jun 2017 15:15:43 +0000 (17:15 +0200)]
Back to previous populate http and data behavior

Change-Id: I3ecd7f4175925ee48a394ea3bfc233bb016098be
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoOnly 1 include in root CMake and no macro to call
Romain Forlot [Tue, 27 Jun 2017 13:18:02 +0000 (15:18 +0200)]
Only 1 include in root CMake and no macro to call

Added a variable to specify pattern to search CMakeLists.txt
over directories and include common.cmake from config.cmake file.
Now it isn't needed to call any macro to configure the
project.

Change-Id: I0c0eecc684db4f8ee1055d84205ad457a6fde179
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCorrect precedence over included files
Romain Forlot [Tue, 27 Jun 2017 13:02:05 +0000 (15:02 +0200)]
Correct precedence over included files

Change-Id: Ifc6f2bf72ea5bc9f497745cc65041f047e8b86bd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>