staging/xdg-launcher.git
6 years agoDisallow build in-source. 4.99.2 eel/4.99.2 eel_4.99.2
Romain Forlot [Mon, 23 Oct 2017 15:14:06 +0000 (17:14 +0200)]
Disallow build in-source.

Change-Id: If606d1ad283a37b7a2c1d4e45d8459ace2ba76c5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoKeep libraries and binding in the same directory 4.99.1 eel/4.99.1 eel_4.99.1
Romain Forlot [Mon, 9 Oct 2017 08:45:43 +0000 (10:45 +0200)]
Keep libraries and binding in the same directory

Change-Id: I40a3424b689d03e3f6cf471495ed869511a30d2d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate README and documentation
Romain Forlot [Wed, 4 Oct 2017 11:43:08 +0000 (13:43 +0200)]
Update README and documentation

Instructions to include external library into a widget

Change-Id: Ic5c8c477fdbc1d374f1f88260b51cb9f200d02e1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoInclude ExternalProject CMake module by default
Romain Forlot [Wed, 4 Oct 2017 11:41:57 +0000 (13:41 +0200)]
Include ExternalProject CMake module by default

Change-Id: Icf3929e6f2b0c28d3281ee451527ec1085ac9c7f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoCleaning
Romain Forlot [Wed, 4 Oct 2017 09:22:11 +0000 (11:22 +0200)]
Cleaning

Change-Id: Id06766a8c24dd21fdee6211a384bfccf7c6535ad
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoHandle imported target to populate package folder
Romain Forlot [Wed, 4 Oct 2017 09:22:06 +0000 (11:22 +0200)]
Handle imported target to populate package folder

Can use an external library builded as an external project
or an already built library/executable to include it into
a widget.

Change-Id: Ia3282f875fe0f6f9e8f1153d87ccfbecf8559dbb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoControl install destination directory
Romain Forlot [Wed, 4 Oct 2017 09:18:47 +0000 (11:18 +0200)]
Control install destination directory

Either put all in a dedicated binding directory like a classic
widget install, either put all directly a CMAKE_INSTALL_PREFIX
root directory.

Change-Id: I54ebe8a680ea09af73c7fc9e6646fdd203fdeb98
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFix: wrong if closure...
Romain Forlot [Tue, 26 Sep 2017 12:59:37 +0000 (14:59 +0200)]
Fix: wrong if closure...

Change-Id: I6b8964c0c7db970b88e636222fb8394a51dbde8e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMake use of LibEfence optional
Romain Forlot [Sun, 24 Sep 2017 10:01:37 +0000 (12:01 +0200)]
Make use of LibEfence optional

Change-Id: I22b52611dab0be6021b08d6c6d63bc369df0b4d4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoUpdate Readme
Romain Forlot [Sun, 24 Sep 2017 10:01:21 +0000 (12:01 +0200)]
Update Readme

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