apps/app-templates.git
7 years agoFix: No build error on input files checked
Romain Forlot [Wed, 20 Sep 2017 14:50:53 +0000 (16:50 +0200)]
Fix: No build error on input files checked

Output a warning if no checker found but at usage must
crash the build if input files has errors.

Change-Id: I282c4eb2303922ce1cd7055b51182ed222b62d08
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdding install target to autobuild script
Romain Forlot [Fri, 15 Sep 2017 12:37:43 +0000 (14:37 +0200)]
Adding install target to autobuild script

Change-Id: I1ee2fb376e247c74e383428ec5c0b7994cba1f54
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoHandle controller plugin populate and install
Romain Forlot [Thu, 14 Sep 2017 11:31:47 +0000 (13:31 +0200)]
Handle controller plugin populate and install

Change-Id: Ib48817e4634990b6369de29ce81fa86354d73652
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoClearer output when checking data file
Romain Forlot [Tue, 12 Sep 2017 16:10:19 +0000 (18:10 +0200)]
Clearer output when checking data file

Change-Id: I942b11b460c15618cc3c6a731f588d7a8b91abcf
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoDon't fails if data files checker not found.
Romain Forlot [Tue, 12 Sep 2017 09:22:42 +0000 (11:22 +0200)]
Don't fails if data files checker not found.

Change-Id: If28a37406175dc318c3ed62153e3276f2eb77525
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoUpdate doc
Romain Forlot [Sat, 9 Sep 2017 14:07:37 +0000 (16:07 +0200)]
Update doc

Change-Id: I942267d9673651db6986177e8d47aa0dbc235e3e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoCopying content not the directory.
Romain Forlot [Fri, 1 Sep 2017 17:36:02 +0000 (19:36 +0200)]
Copying content not the directory.

Change-Id: I3d221379459ff5451b6933fac2383c8c3797d0d3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoDisabling packaging target. To be externalized
Romain Forlot [Wed, 30 Aug 2017 13:44:18 +0000 (15:44 +0200)]
Disabling packaging target. To be externalized

Change-Id: I4ff1c05eae2a8542f1ad002acc6bf0d4a7ff72d6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoAdded populate binding config files
Romain Forlot [Wed, 30 Aug 2017 09:14:52 +0000 (11:14 +0200)]
Added populate binding config files

Change-Id: I9fd0ccd917c0fbbfe67910a169001c85220a78c0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix: wrong OS detection when SDK env or Yocto
Romain Forlot [Tue, 29 Aug 2017 15:50:05 +0000 (17:50 +0200)]
Fix: wrong OS detection when SDK env or Yocto

Change-Id: Iece230f0708129ea5980c61dae2d2cb66d32e7eb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agotemplates.d: adjustments for xds (gdb*.ini, xds-project-target.conf)
Stephane Desneux [Mon, 28 Aug 2017 17:05:20 +0000 (19:05 +0200)]
templates.d: adjustments for xds (gdb*.ini, xds-project-target.conf)

Change-Id: Ic3b029793670aac617d6d23e67ce15084f855cdb
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agostart-on-target.sh.in: use --monitoring option to start afb-daemon
Stephane Desneux [Mon, 28 Aug 2017 17:01:35 +0000 (19:01 +0200)]
start-on-target.sh.in: use --monitoring option to start afb-daemon

Change-Id: I397613a350aafd46b52d2e83d9f4c7951a9da8fe
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoDirty fix to handle distro specific packages deps
Romain Forlot [Mon, 28 Aug 2017 16:54:41 +0000 (18:54 +0200)]
Dirty fix to handle distro specific packages deps

Could include first distro specific file to be able to modify
variable from config.cmake and then process classic submodule
cmake files.

Change-Id: Id5dad2504d44c86cb165ad56f5314e9c0c545f0b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoFix pkgconfig parsing result
Ronan Le Martret [Mon, 28 Aug 2017 14:03:12 +0000 (16:03 +0200)]
Fix pkgconfig parsing result

Change-Id: I1d278188126baae20ef6890ea140b2136f1a09f0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
7 years agoFix deb packaging pkgconfig dependency
Ronan Le Martret [Mon, 28 Aug 2017 13:52:06 +0000 (15:52 +0200)]
Fix deb packaging pkgconfig dependency

 * dpkg must be use to find the package whose provides
   the .pc file

Change-Id: I475559264c5dd1116e773a6842889cfd230917a0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
7 years agoFix: output msg if build fail on remote populate
Romain Forlot [Sat, 26 Aug 2017 13:10:01 +0000 (15:10 +0200)]
Fix: output msg if build fail on remote populate

Change-Id: Id0ee4805854181dab1885af42f9c9f4603ad796f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoadd_input_target targets built by default
Romain Forlot [Fri, 25 Aug 2017 08:06:44 +0000 (10:06 +0200)]
add_input_target targets built by default

Adding to 'all' target

Change-Id: I3b4696ced961a5ccc6a35cbb1ab64cbd489af45b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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>