summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-15Ease standard target DATA and HTDOCS creationRomain Forlot3-0/+33
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>
2018-10-15Extending pluggable arch for templatesRomain Forlot20-37/+34
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>
2018-10-15Update documentation about propertiesRomain Forlot3-8/+32
Change-Id: Id5f3349889d0b26ebec7e3a90a549b0ceb4fb493 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Be able to choose openAPI definition file name.Romain Forlot3-12/+31
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>
2018-10-15Fix: make install double files in build dir.Romain Forlot1-2/+2
Default install prefix to /usr/local then. Change-Id: I6c53e3055a3a9f7d44d24480695014b1c9a435ae Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: wrong link libraries dependencies var nameRomain Forlot1-2/+2
Change-Id: Idbdb781c0cb7ab9a6df4b821868587bfaa8e3c2f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update README/docs with new LABELS BINDINGV2 infosRomain Forlot2-0/+8
Change-Id: I419c02d9ab5ef785d3103b2e043d4df9fa244a6c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Change compilation flags setup.Romain Forlot2-25/+47
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>
2018-10-15Generate .h from OpenAPI json description fileRomain Forlot1-1/+14
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>
2018-10-15No optimization in DEBUG build configurationRomain Forlot1-1/+0
Optimization complicate debugging. Change-Id: Ib000c36fd599b544ef96be9de35527baecf022e3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Format and Make CMake dependencies cleaner.Romain Forlot1-10/+16
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>
2018-10-15Fixed target-populate dependencies and update native-remote debugFulup Ar Foll3-10/+19
Change-Id: Ia041caa86dd57af48ae6ee53f26fb0be86f95e88 Signed-off-by: Fulup Ar Foll <fulup@iot.bzh>
2018-10-15Fix logic bug in addition of -DKERNEL_MINIMAL_VERSIONJan-Simon Möller1-1/+2
-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>
2018-10-15CommentRomain Forlot1-6/+6
Change-Id: I5a78f103c29c3535d332172ee0b0547de79cc193 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-152 Kernel checks available (warning or mandatory)Romain Forlot3-20/+39
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>
2018-10-15Change compile flag and clearer to readRomain Forlot1-8/+9
Use -O0 with DEBUG instead of -0g Change-Id: I100e2188b34f3506d400379808ce875a4817be8d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Project cmake file have precedence on home & sysRomain Forlot1-1/+1
Change-Id: Ied2c6e3c7f378b27a84229999b84dfc649a4e657 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15README: point to the correct CMakeLists.txt sampleJosé Bollo1-1/+1
Change-Id: I4aad3403f190bf2033355a827e0e6fa5c1f7fe6d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-15README: update git repo urlJosé Bollo1-1/+1
Change-Id: I0c4a46c779d95a68c930e0747a17903352fe9bdb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-15Add possibility to customize option at link.Romain Forlot1-0/+4
Credit to Ronan Le Martret. Change-Id: I5ea24a275df6726f87ce5e87abbb2cfc6d029f28 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: bad afb-daemon flag, disable auto answer 'no'Romain Forlot2-2/+7
Change-Id: I3ee63512433c869fdd809ee1b6571205cd07a4e1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15-pg flags belongs to profiling more than debugRomain Forlot1-1/+1
Change-Id: Iab550cc5653c7ef1094a8960aca9ca64f1aee1a4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add group AGL to spec fileRonan Le Martret1-0/+1
Change-Id: I2f667226a372a721b0bb4067ee6e0779a10c6432 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-15Remove rpm macro "%__make", use "make" insteadRonan Le Martret1-1/+1
Change-Id: I6e2c77b1a21aeaa127e12fe5e1464a59f71e996f Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-15Linux autobuild script more verbose and usableRomain Forlot1-3/+19
Adding a help message and ensure DEST variable is set Change-Id: I486c6a21b41c2912e92007ee522af6fe4e8ceb71 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add an help target used by defaultRomain Forlot1-3/+16
Change-Id: Ifdf1d3968964a8d66ac218aa8d28b18bb0e94404 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: crash if no DEST argument providedRomain Forlot1-2/+2
Change-Id: I21d426f0ed5cc6b0a8edf0ebb9ce3a69ab313d0b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: shared library files not found by gdbRomain Forlot4-5/+17
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>
2018-10-15FormatRomain Forlot1-2/+2
Change-Id: Ib31c28da19c766c43fcbf9002d0aa1e9ecb370ac Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Use recommended way to specify target dependenciesRomain Forlot1-11/+7
Change-Id: I6a8e5d435a0540522de555f521d24aa4de21050d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix invalid widget dir in config sampleSebastien Douheret1-1/+1
Change-Id: I6f26d49137bfc567eaae17eb06ad77ce645ee95d Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-15Default execution flag on shell scripts templates.Romain Forlot2-0/+0
Change-Id: I3db694c9c25e3fa6002390fb497b157f078ddbd8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: also avoid cleaning generated packaging filesRomain Forlot1-36/+11
Change-Id: I312e0743e8faf03ecfc5b43c77a9edaf9b40d937 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: cleaning of autobuild script using make cleanRomain Forlot1-6/+10
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>
2018-10-15Fix: cleaning generated additionals filesRomain Forlot1-3/+2
Change-Id: I979b699e6ce090b354d6271c549111c2bd44cd2d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add configured file to files to clean up with makeRomain Forlot1-0/+1
Change-Id: Ibef0a4628bf3fe0b830f19fc8aa2f3e5d4b1ff19 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: wrong extension of configured filesRomain Forlot4-0/+1
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>
2018-10-15Add some reminderRomain Forlot1-0/+1
Change-Id: I218b746a622cc0705be631292fc9e0c6154538eb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: Yocto cross compile flag same the last commitRomain Forlot1-9/+14
Change-Id: Id39653e23fddedd3f48a64d1d9badd6c7a1ef894 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix Yocto can't compile project using app-templatesRomain Forlot1-8/+5
Change-Id: Id5a9c1ffa6f24278f16fceeed0ba7e46ed49b37d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: wrong macro nameRomain Forlot1-2/+2
Change-Id: Ia0af4453536509606f55a9557eff73a4d44e56ec Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Changes build flags to be more accurateRomain Forlot1-8/+7
Change-Id: I1139845c4d103935c75dbd24ab6a4c38d121bdea Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update doc & use gitbook to enhance doc generationRomain Forlot25-40/+1663
Change-Id: If42c916f7664ea67b818a21b8f50c66c41e11f89 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add a CMakeLists.txt file to be used as root fileRomain Forlot1-0/+21
Change-Id: I62900402fe9d3ef0ff4f4f19793cb08a67b116dd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Change location for custom CMake files and scriptsRomain Forlot1-2/+5
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>
2018-10-15Fix: Kernel detection under Yocto build envRomain Forlot1-0/+2
Change-Id: I2b21a6c2b5c812736ab3e7a480cbaa3f547819fc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Adding detection of a Yocto build environmentRomain Forlot2-7/+5
Change-Id: Id6a94153ada5b98a4a6d564859da8617ac636704 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> # Conflicts: # cmake/cmake.d/01-variables.cmake
2018-10-15Fix deb packaging namingRonan Le Martret1-1/+3
Change-Id: I8355dee83379c6c24e02104913fad5dcdebd95f0 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-15Fix: handling DEST env var in autobuild scriptsRomain Forlot2-3/+3
Change-Id: Idf24c1adf12698d4b5ac7950e3d3c2e25b1c3274 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: idem...Romain Forlot1-2/+2
Change-Id: Iacc2ecf8dafce07fa9b8e1a3b123acf85417d650 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>