summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-29Deprecate PROJECT_LIBDIR and PROJECT_RESOURCES varRomain Forlot1-2/+2
Change-Id: I9fc0e4389ade90e22e4ede77720effeff87834b7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-24Make sure to point to correct dir for cmake scripteel_4.99.3eel/4.99.34.99.3Romain Forlot1-2/+2
Change-Id: I1ec3541aa5ab6f82a91e150193c954e586cb06f8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-23Fix variables checking.Romain Forlot1-2/+2
Change-Id: Ifbe95bbcb7f192ec9e84c26a73dc260926360b37 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-23CMake doesn't path protection.Romain Forlot2-3/+5
Keep using a classic CMake variable not escape with quote for path PKG_TEMPLATE_PREFIX else path isn't correct for internal cmake usage. Change-Id: I9ebff240e28c5cc8922ff6bbc5e6c14a62997f65 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-23Compare to manual Project version if not from gitRomain Forlot1-0/+7
Change-Id: I7e83d2e587757edf5cfa22709ead85ce82f52dcc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-23No failure if none tags found on project git repoRomain Forlot1-5/+9
Change-Id: Idb46117feb860c84a14b6c256ee809e31546fd7c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-23Protect path with space in it.Romain Forlot3-16/+5
Bug-AGL: SPEC-1117 Change-Id: I36ba8047c3dc722c6c99ecbd90e14d5d717cb808 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-17Check version between app-templates and project.Romain Forlot4-1/+38
PROJECT_VERSION could be detected if project is located in AGL gerrit repo or with personal tags when in personal repository This version is checked against app-templates version which is aligned on AGL tags. A warning is displayed if app-templates version is outdated related to project_version. Also a "dirty" flag is appended to the project version if git repo isn't in sync with its remote counterpart. Then you could know if see an installed widget on a target that got that "-dirty" flag appended to the version that this widget include code that could not be merged in the git repository. Bug-AGL: SPEC-951 Change-Id: I99687560d19d746c887fc7a095e71407bda34325 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-16CleaningRomain Forlot1-101/+0
Change-Id: Ia040321ddf86d80c04b63f56041b571b24a802ec Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-16Could specify others default install directoriesRomain Forlot2-5/+7
Path to default package BINDIR, LIBDIR, ETCDIR, DATADIR and HTTPDIR. Change-Id: I0e820f48f60e5e18053077fdbaa1d45912d5bb12 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-09Fix finding config templateScott Murray1-1/+3
Commit 9a73785 ("Better handling icon&config.xml to build widget") seems to have accidentally broken an application providing its own config template, resulting in the stock templates always being used. That results in breakage like extra permissions in the app's version not being picked up. The logic for setting WIDGET_CONFIG_TEMPLATE has been reverted to what it was previously to fix the behavior. Change-Id: I245bc08f466b883b61c286faed933a5e57a74845 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-10-23Disallow build in-source.eel_4.99.2eel/4.99.24.99.2Romain Forlot1-26/+37
Change-Id: If606d1ad283a37b7a2c1d4e45d8459ace2ba76c5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-09Keep libraries and binding in the same directoryeel_4.99.1eel/4.99.14.99.1Romain Forlot1-5/+3
Change-Id: I40a3424b689d03e3f6cf471495ed869511a30d2d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-04Update README and documentationRomain Forlot4-37/+179
Instructions to include external library into a widget Change-Id: Ic5c8c477fdbc1d374f1f88260b51cb9f200d02e1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-04Include ExternalProject CMake module by defaultRomain Forlot1-0/+3
Change-Id: Icf3929e6f2b0c28d3281ee451527ec1085ac9c7f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-04CleaningRomain Forlot1-12/+0
Change-Id: Id06766a8c24dd21fdee6211a384bfccf7c6535ad Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-04Handle imported target to populate package folderRomain Forlot1-113/+91
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>
2017-10-04Control install destination directoryRomain Forlot1-3/+11
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>
2017-09-26Fix: wrong if closure...Romain Forlot1-1/+1
Change-Id: I6b8964c0c7db970b88e636222fb8394a51dbde8e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-24Make use of LibEfence optionalRomain Forlot2-1/+2
Change-Id: I22b52611dab0be6021b08d6c6d63bc369df0b4d4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-24Update ReadmeRomain Forlot1-5/+5
Change-Id: I30b75cec8634ffe52f3918e9da7bc1c656c6215d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-20Fix: No build error on input files checkedRomain Forlot2-17/+53
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>
2017-09-15Adding install target to autobuild scriptRomain Forlot2-5/+11
Change-Id: I1ee2fb376e247c74e383428ec5c0b7994cba1f54 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-14Handle controller plugin populate and installRomain Forlot1-7/+16
Change-Id: Ib48817e4634990b6369de29ce81fa86354d73652 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-12Clearer output when checking data fileRomain Forlot1-3/+3
Change-Id: I942b11b460c15618cc3c6a731f588d7a8b91abcf Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-12Don't fails if data files checker not found.Romain Forlot1-3/+3
Change-Id: If28a37406175dc318c3ed62153e3276f2eb77525 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-09Update docRomain Forlot4-35/+66
Change-Id: I942267d9673651db6986177e8d47aa0dbc235e3e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-01Copying content not the directory.Romain Forlot1-1/+1
Change-Id: I3d221379459ff5451b6933fac2383c8c3797d0d3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-30Disabling packaging target. To be externalizedRomain Forlot2-98/+98
Change-Id: I4ff1c05eae2a8542f1ad002acc6bf0d4a7ff72d6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-30Added populate binding config filesRomain Forlot1-0/+16
Change-Id: I9fd0ccd917c0fbbfe67910a169001c85220a78c0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-29Fix: wrong OS detection when SDK env or YoctoRomain Forlot2-11/+11
Change-Id: Iece230f0708129ea5980c61dae2d2cb66d32e7eb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-28templates.d: adjustments for xds (gdb*.ini, xds-project-target.conf)Stephane Desneux2-7/+23
Change-Id: Ic3b029793670aac617d6d23e67ce15084f855cdb Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-08-28start-on-target.sh.in: use --monitoring option to start afb-daemonStephane Desneux1-2/+2
Change-Id: I397613a350aafd46b52d2e83d9f4c7951a9da8fe Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-08-28Dirty fix to handle distro specific packages depsRomain Forlot3-39/+27
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>
2017-08-28Fix pkgconfig parsing resultRonan Le Martret1-1/+1
Change-Id: I1d278188126baae20ef6890ea140b2136f1a09f0 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-08-28Fix deb packaging pkgconfig dependencyRonan Le Martret1-1/+1
* 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>
2017-08-26Fix: output msg if build fail on remote populateRomain Forlot1-1/+6
Change-Id: Id0ee4805854181dab1885af42f9c9f4603ad796f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-25add_input_target targets built by defaultRomain Forlot1-1/+1
Adding to 'all' target Change-Id: I3b4696ced961a5ccc6a35cbb1ab64cbd489af45b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-25Update doc and README with latest modificationsRomain Forlot4-26/+68
Change-Id: I7b42fe371b6912de9df42a76781a8886dd804b3d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-25Generic default CLOSING_MESSAGE in sample configRomain Forlot3-24/+15
Change-Id: I6886b4d7844e208f3f996418d9658567e8d8f135 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-25IndentRomain Forlot1-23/+23
Change-Id: Ie333025c5f68c5121a4445308858441e60b17696 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-25Comment apparently uneeded section.Romain Forlot1-6/+9
Let's see if used. Change-Id: Iaa5cf37f0a7964e797cdc99c9d7bdbb93f8b54e4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-24Change luac option to do only syntax checkingRomain Forlot1-1/+1
Change-Id: I20769279e08927d0a9d8bfbbc2691719e7a5475a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-24Fix: use of filter in Cmake 3.5Romain Forlot1-3/+6
Need using a variable for regex... Change-Id: Ie5b050a3588dec10d0cc4365aa7272a90f10eb30 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-24Fix: mistapedRomain Forlot1-1/+1
Change-Id: I6252ed2ed8defaba8d848ce0d500a8a83be4cd90 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-24Fix: luac invokation failed.Romain Forlot1-1/+1
Wrong way to use command argument in cmake variable Change-Id: I9a334a509d109d9243c7e8211a686757821fcb30 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-24Workaround to bugged list filter backport functionRomain Forlot1-6/+13
Change-Id: I520bcb09add89567083f0c06bde92dae08206c50 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-23Fix: wrong variable detectionRomain Forlot1-1/+1
Change-Id: Idc736c60f51e20640476202996121eefef8b8210 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-23OS detection to fallback instead of additionRomain Forlot1-1/+5
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>
2017-08-23Enhances OS detection with Yocto and SDKRomain Forlot1-18/+22
Change-Id: I27f70c3ef9f16d918353e00c0535351bd738df82 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>