summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-15Autobuild scripts directory execution proofRomain Forlot2-9/+4
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>
2018-10-15Use variable to handle autobuild target directoryRomain Forlot2-2/+6
Change-Id: If544267154111148b4e279ad6937c60195b20e26 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: Debian detection, only valid in native envRomain Forlot2-56/+59
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
2018-10-15Move variable definition to the right place.Romain Forlot2-3/+3
Change-Id: I36c0ff6d5b65b5da1258bb9807a5476cba2e4280 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add pkg-config for deb packagingRonan Le Martret2-1/+3
Change-Id: Idb5c754fb456c877274c06646b515cb9f7963a21 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-15change path etc/config.cmake to conf.d/cmake/config.cmakeRonan Le Martret5-9/+9
Change-Id: I98d51ce911c51ced28760c53420ffdf474fe48f1 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-15Fix: autobuild script typoRomain Forlot2-2/+2
Change-Id: I3027ba7bd6fa98755e888152c860812cf0fd5908 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Custom targets depends on input filesRomain Forlot1-5/+14
Change-Id: I315df31ac299cf43c9bf7c5d7ee0043f65c5946c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: multiline COMMAND not supported...Romain Forlot1-16/+8
Change-Id: Ic5bedd44fc032c07952b46b6c773c986fd641ad9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15templated autobuild script generation.Romain Forlot3-12/+22
Change-Id: Ie7e411f30a30e073570c546aeec6ee05972f8e2a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Adding autobuild generation targetRomain Forlot3-20/+41
Change-Id: Idb231d005abbca3eb0a779320ab2382f6ff81108 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Back to previous populate http and data behaviorRomain Forlot1-4/+2
Change-Id: I3ecd7f4175925ee48a394ea3bfc233bb016098be Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Only 1 include in root CMake and no macro to callRomain Forlot2-14/+18
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>
2018-10-15Correct precedence over included filesRomain Forlot1-1/+1
Change-Id: Ifc6f2bf72ea5bc9f497745cc65041f047e8b86bd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Recurse over template files to configure them.Romain Forlot2-9/+19
Change-Id: I4e18946ac986a0c128b1d6f00185c0fd2200f643 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Recursive include cmake file systemn home, projectRomain Forlot5-100/+132
Can now include any cmake file named with the template name [0-9][0-9]-*.cmake Change-Id: If6caf4e254691bb7b9b0e4e0b7adf9f19560ff25 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: htdocs and data files not populated.Romain Forlot1-2/+5
Change-Id: Ib1875f988ca7863c9edf6d181d5fe0652de41ab2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add wrapper to 4 most commons macrosRomain Forlot2-1/+16
1 macros to call in the right orders 4 following macros: - project_subdirs_add - project_targets_populate - project_package_build - project_closing_msg Could take 1 argument passed to project_subdirs_add Change-Id: I4ae7e24f1a865413156c5c70b77098c3a20349b0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15FormatRomain Forlot1-11/+20
Change-Id: Ia9881d4ac0d89c77bee98b2c773118b6339fcf14 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Check Kernel version against SDK env or Host env.Romain Forlot1-5/+19
This use Kernel header version.h to determine which is the current kernel version use to develop the project Change-Id: I0a654a5a0fc89543fa3d855c7adc6d319dd0b53c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Split common files into specialized cmake files.Romain Forlot4-467/+549
Change-Id: I5c920f78c583a6a4eaeb53146413c35c640b4bbb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Configure file at build time with separated targetRomain Forlot3-70/+105
Change-Id: I0464897b830e926bb173c9b80ef7682ff47ecb5b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-15Update packaging creationRonan Le Martret8-31/+262
* update rpm creation * add deb packaging Change-Id: Idc1623b7b0ca72d4842e59f9495fc26c487ef008 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-15Fix: remove old bug about overwriten variables.Romain Forlot1-2/+0
Change-Id: I81a6d9f68c04ad309ac023a1aa2257b83393bcb9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update READMERomain Forlot1-10/+12
Change-Id: I51f64cd74c348728afefed8deafc2f0a37e28969 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> # Conflicts: # README.md
2018-10-15Fix gdb debugging and add widget install on targetSebastien Douheret6-12/+76
Change-Id: I67698bbbfa626e55cbe382afd7e9c5eb699f6149 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-15Update READMERomain Forlot1-4/+4
Change-Id: I51f64cd74c348728afefed8deafc2f0a37e28969 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix:WIDGET_ENTRY_POINT variable always overwrittenRomain Forlot1-4/+6
Change-Id: I429676174add205d60b9cd0d03f091f2533a5182 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15renamed default submodules dirRomain Forlot1-1/+1
Change-Id: Idd0505c2ca7f9c055313628667d7f3f2a5d35523 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix wrong path to submodule files.Romain Forlot1-2/+0
Change-Id: Ic28656d1e662b639ea84d052dbf48876c7ed7737 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15FormatRomain Forlot2-3/+3
Change-Id: Ia3fd8c0c03782664a7f0fbc6bc2bb2a5f747d136 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Replace LIBRARIES by LDFLAGS for pkgconfig depRonan Le Martret1-1/+1
XXX_LIBRARIES provide the lib name, LDFLAGS lib name and path. Change-Id: Iad84a450e2a0876e8c9d284408a43f472e1f275f Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-15Update config.cmake.sampleRonan Le Martret1-1/+2
Add version for pkgconfig required, (libsystemd, libmicrohttpd) Add pkgconfig required (libmicrohttpd) Change-Id: Ic4e348cc00950074cf38b7a1be94315ac9f4a41b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-15gitignore: add vim swap filesStephane Desneux1-0/+1
Change-Id: I9e7fb4501475e3a0daeedbe413db8cbe9126bd76 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-15fix typo: 'license', not 'licence' (french)Stephane Desneux4-4/+4
Change-Id: Iaa3fc567f7f61f944c6d4cb17dd1693dbf3c67be Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-15Don't ship config.xml to packaging dir. UselessRomain Forlot1-1/+0
Change-Id: I1d5daebf7870e372d615c4f39e2a538a6590d189 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update README.Romain Forlot1-29/+54
Change-Id: Ie98d9ae9269cbd73e0353636cfe87346697ee0b7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15FormatRomain Forlot1-2/+0
Change-Id: I10ac047df90ee5c4e795433a1de977d7a4ff95c8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Adding a full explained widget configuration fileRomain Forlot1-0/+142
Change-Id: Ice3a74d0e64eea17780e28ef3cf5eae74293b0a0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15More detailled comments.Romain Forlot1-14/+17
Change-Id: I980342903fe2a538b590addf86d53fb210807944 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Set default value for APP_TEMPLATES_DIR and WIDGET_ENTRY_POINTSebastien Douheret2-6/+13
Change-Id: I275373636bfa4e33e0c82ff934971ee17501bfe1 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-15Remove spec file from package tree.Romain Forlot1-1/+1
Change-Id: I1cca6118dc07efe15f408b222980fecf6ad0d125 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Added a target to build an archive from git repoRomain Forlot1-1/+8
Change-Id: If6f491f7bf8e3e7a29b9c9db369126dc550318c3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: cli CMAKE_INSTALL_PREFIX variable ignoredRomain Forlot1-1/+1
Don't overwrite CMAKE_INSTALL_PREFIX Change-Id: Ie4b0a6dde2b59fee6704369b6fe66a1390c4a092 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15cmake: add WIDGET_CONFIG_TEMPLATE setting to specify location for config.xml.inStephane Desneux2-5/+15
Change-Id: I285196388c12145b6b049af692a7a67c03aaba24 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-15cmake: add default iconsStephane Desneux5-0/+0
Change-Id: I219069e14543d0899e9dae4f2b92a113dd8aae83 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-15common.cmake: fix icon copy and final name in packageStephane Desneux1-1/+2
Change-Id: I6791a0e0de9e8f3d3b540550f9dfe9c06821f4ae Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-15Make optional kernel version checks.Romain Forlot1-1/+2
Kernel version check against the kernel host version that the correct one which can be in a SDK. Change-Id: If84efdb4391d574b3d48fc35c07d84937f43ef8f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: empty value in generated config.xml file.Romain Forlot1-23/+21
Make mandatory and update WIDGET_ENTRY_POINT and WIDGET_TYPE settings. Change-Id: I6681bab6d31a47769467be1a43de6fb9070007be Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add build rule to .PHONY listSebastien Douheret2-2/+2
Change-Id: I4725e23c04b00ffb3212681423ff9bcc2320be07 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>