summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-15FormatRomain Forlot1-7/+7
Change-Id: I5197065ea620cee4accca7e097df9a49b796c671 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Overload CMAKE_INSTALL_PREFIX if custom definedRomain Forlot1-1/+7
Change-Id: I327d6af1862b4732f91d78abe26c7ffd6d2fbe51 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Always configure files to build widget.Romain Forlot1-6/+0
Change-Id: I78ff4d6333dcbb6786d5618a27b89ac9cd9e9ebc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Use FATAL_ERROR if missing file to build packagesRomain Forlot1-41/+45
Change-Id: I5d1b0abf5447fdf9938d4c4d4b7ad0d921cf27a0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Renamed variables to avoid confusingRomain Forlot1-10/+12
Change-Id: Iddd9215f45001c3ed515e601e7ef2ba73161a703 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add missing macro used in building RPM spec fileRomain Forlot2-0/+4
Change-Id: I4058a9fc101b7aea0343a68557a2e5b76ec827f2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix missing variable use for remote debugRomain Forlot2-0/+10
Change-Id: I73a3c490e9abe780a79ac24fbfc838e5bd18eade Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Adding colors in output messages.Romain Forlot1-2/+2
Change-Id: Iad429f66156468098d8e7798c5cabed2481b92a4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix:use first optional argument in adding subdir macroRomain Forlot1-3/+5
Change-Id: Id09128836df86ade96036359e125e4ce4f23a124 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: first ssh connectionRomain Forlot1-1/+1
Don't ask to valid host key at first connection to a host Change-Id: I664d15e2a913638ffccb85c4d420a0df8b9addc5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: rsync / on target.Romain Forlot1-1/+1
Populate target with the correct path. Change-Id: I25df58cbc14ca2e0d20450a6be97c635f9c2a4b3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: hardcoded pathRomain Forlot2-3/+3
Change-Id: I882f7f69b3577a779266c5347c25ee6d7ab52377 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: variable coherenceRomain Forlot1-5/+5
Change-Id: Ie7c073e0df0e19b31e210cb02d628bde864d11de Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Added possibility to check linux kernel versionRomain Forlot2-2/+14
Change-Id: I212e1a5a2dc16c6cc2eb78523dbf9496d9da234a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Added missing files...Romain Forlot2-0/+38
Change-Id: I4e359bb76bbd60833970ece52c12596196a22b02 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Missing variable and target callRomain Forlot1-0/+5
Change-Id: If0dbac632f45ecbb122a68bea18fb6e9645b86e7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Get back to last folder structure (more or less)Romain Forlot6-0/+0
Change-Id: I2993ec9ca8f4ed73e1dfc9fb6caf554bfc0ac871 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: can't build rpm fileRomain Forlot1-1/+0
Change-Id: Ie916acdb5402137ef861b3b442ac76a161374731 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: can't build wgt fileRomain Forlot1-2/+2
Fix changed icon file name. Change-Id: I2c8ab65df8ffe245f8f52fc8a147c19e76aa069c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update README docRomain Forlot1-16/+46
Change-Id: I94da23c8d87dc11862d93b4c87a8291cad633fb3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add variable indicating where is app-templates repo cloneRomain Forlot2-4/+8
Change-Id: Ifd7d2e47727840705dddec1a4ae83e917a5110be Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Separate directory to put package build files.Romain Forlot1-0/+2
Templated files config.xml.in and config.spec.in are configured to be used by wgt and rpm packager software. Change-Id: Id7fbd7822acb4d0f187d9d9b8d1682ee7ef0cc33 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: rpm spec file not configured.Romain Forlot1-2/+2
Fix: wrong variable name tested Change-Id: I03dfb603c1c30b1935356699e45b1f82bc1f63c8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Format: indentRomain Forlot1-11/+45
Change-Id: Ia500deb6b1af1df6f1f0f0ec31e0e5730ac293f5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Rename variable to be more accurateRomain Forlot1-18/+19
Renaming PROJECT_PKG_DIR to PROJECT_PKG_BUILD_DIR. Change-Id: I8e26ca9d2ec908ee2dcd3980ea86847a1b7e0178 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Renaming macros to common.Romain Forlot1-0/+0
Change-Id: I5f4085718afa7519ec2ec67566e3685d36412f27 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix wrong rpm spec files extensions.Romain Forlot2-7/+54
Classic RPM build file is suffixed with .spec. Change-Id: I66e1a756ce72501d3ebb103588bf439bf1135140 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Reorganization of folder structureRomain Forlot7-0/+0
Change-Id: I809382d652415038b53be9a1ec9f2f60939cce42 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: Test modules package dependencies versions.Romain Forlot1-4/+5
Change-Id: I3cb68b4c431c064e5a34cac5466c3f8afdf06f3b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Improve populate htdocs and data target types.Romain Forlot1-5/+5
Copy the directory contents instead of the directory itself to avoid copying directory inside the target directory if it exists. Change-Id: I152287e59dc1f0a00fcf538f270519128459dc42 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix project LIBDIR and RESOURCES paths.Romain Forlot1-2/+2
Change-Id: I36c4139e53266938285f8a275bf38243cd10907e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Improve .gitignoreRomain Forlot1-0/+3
Change-Id: I994277a8a552ac76b043b388f03a4f8e0ec0bd6b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Specify script as a sample file to be copiedRomain Forlot1-0/+0
Change-Id: I464a4eb83f47860f3e5e0f9297e6632fe90cdc51 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Reorganization for a new project tree logic.Romain Forlot7-65/+176
This directory has to be include as submodules by example into a conf.d directory at root project path. conf.d will have config.cmake, icon.png, build scripts and a package directory where should lies builded config.xml and config.spec files to build package using OBS (by example) Change-Id: I2a5cd8a4b5641995ef89a1e796a0e5a229303f7c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Git repo can be used as submodulesRomain Forlot132-11269/+0
Clean templates files as they are useless for usage in submodules into a project. Change-Id: I24c71b64ab2b3a958494f3f190c014227a1da576 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update template to the referenceRomain Forlot8-8/+16
Change-Id: I32b9911fa0f8b294e3f38ce88de2ed58a9b57c71 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add closing message and a widget message. Example more completeRomain Forlot4-8/+8
Change-Id: Ia320d1f95131704b2d5dfd5987edbc183e2956bd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: wrong path to test if html5 app is generated.Romain Forlot2-4/+4
Change-Id: I36825a533db7816229c249b1af1e199231fd6fbc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Testing correctly a propertyRomain Forlot1-1/+2
Change-Id: I86259e19ec58df81591cd2491ce560ce932b5406 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: populate targets not createdRomain Forlot1-0/+1
It is a consequence of using property, we have to retrieve it before test it Change-Id: If617bb673cd348dcc7d193878350a4b2c09dee05 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: Project name not set.Romain Forlot1-1/+1
Wrong variable used, it was PROJECT_NAME that is used in macros.cmake. Change-Id: Ie7e88cde77a826478e027a543a7d5c6210f44360 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update templatesRomain Forlot4-8/+12
Change-Id: Iff329f333f3b6f81471a6c5ada5acb0418523f21 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: using property for global targets listRomain Forlot1-1/+2
Change-Id: I42667730a021c2a5c59906ed915d81530db763cf Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update templates macros.cmake files.Romain Forlot4-52/+20
Change-Id: I030e08c308cbff28df232314008707b6dcacb261 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15GLOBAL property instead of cache var to handle project targetsRomain Forlot1-11/+3
Didn't find the property GlobalTargetList even in cmake 3.8. So using the existing variable. Change-Id: I2851d54d11daf2462321e234c577fde911d078ee Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Updating template to the new AGLbuild scriptRomain Forlot4-0/+8
Change-Id: I3346850bf36797aa6a73db39c630ac5ea668cee5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: being compatible with aglwgt_deploy Yocto tasks.Romain Forlot1-0/+2
Bitbake looks into package dir to take widget and deploy them so we have to move the wgt file into that dir :) Change-Id: Ic729b2ec2a6017f090679c61c8a32a3a62f42d28 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Adding comments as documentation for each target.Romain Forlot9-21/+168
Change-Id: Ia4d73bd4c2cd3be882998c45fca2fa3da8bae971 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update template with references.Romain Forlot18-123/+309
Change-Id: Ic575adc4c8815f41a02c32d9835332cc2608d513 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Adding missing mimetypeRomain Forlot1-0/+1
Change-Id: I09612dcd21c881363bb3da911f3429ea49f68104 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>