summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-21Add macros to make a 2nd pass on required moduleRomain Forlot2-1/+9
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>
2017-08-21Better OS detection and inclusion per distributionRomain Forlot4-8/+23
Change-Id: I6f479353df990eb2ff9030b7427d48bb72f0416f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-21Don't output compiled lua file when checked.Romain Forlot1-1/+1
Change-Id: I062bbb8c1342f189406ac1295baa5fb6e7c5eb1a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-20Install automatically managed for populate targetsRomain Forlot1-88/+99
All populated targets will install in CMAKE_INSTALL_PREFIX/PROJECT_NAME Change-Id: I37df0c6dfde34a04e515e70b06f56929bd76c51a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-20Fix: BINDINGV2 target not populatedRomain Forlot1-7/+9
Miss dependencies... Change-Id: Ief8a5c764a6a36c042eebbd66b83f12e2f08b36a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Better handling icon&config.xml to build widgetRomain Forlot3-13/+16
Default value set Change-Id: Ie1370ff9e89bb80044fc847b4cf37ba19314ecc1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Cleaning, formatRomain Forlot2-10/+10
Change-Id: I0328f500867636bf13289bc2a9d7f8d5a9f7e060 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Duplicate variable meant to set installation dirRomain Forlot3-13/+1
Remove BINDING_INSTALL_PREFIX variable Change-Id: Ia5be7f18a66b3667f03edb265caccc515e0490b2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Make CMake minimal version to at least v3.5Romain Forlot1-3/+81
Backport list(filter cmake subcommand as macro Change-Id: I7736e18ee2618e1977dd968636be84afc31bcc88 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Remove JSON checker not suitable for schema checkRomain Forlot1-2/+3
Change-Id: Iba8dcd35290ab43ffc3aeaeb91cf40b6af1268b8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-17Added per project custom template dirRomain Forlot1-0/+1
Change-Id: I5175b45a0d493724492157af2d32f4e51a04665f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-17Fix: missing dev pkg files error. Now well checkedRomain Forlot1-4/+7
Change-Id: I2c429322990f5a4f0ba192c49502026f4b37dd1d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Personal files inclusion now by projects.Romain Forlot4-17/+53
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>
2017-08-16Fix new arboRomain Forlot2-5/+5
Wrong path to the scripts Change-Id: I0cc0cf9aaa374b5e130008c65f590cee458a7f39 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Reorganization between variables/build optionsRomain Forlot4-38/+39
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>
2017-08-16Avoid wrong OPENAPI_DEF variable definitionRomain Forlot1-0/+6
Change-Id: I6b38cc6af5a3cb5b86b445149345cd65082ccc8b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Better handling of iconsRomain Forlot2-5/+16
Use custom icon if needed or default one if none Change-Id: Ieaa096e3bf40f202e5204dbb48a977edc074d24b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Ease 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>
2017-08-16Extending 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>
2017-08-15Update documentation about propertiesRomain Forlot3-8/+32
Change-Id: Id5f3349889d0b26ebec7e3a90a549b0ceb4fb493 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-11Be 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>
2017-08-10Fix: 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>
2017-08-10Fix: wrong link libraries dependencies var nameRomain Forlot1-2/+2
Change-Id: Idbdb781c0cb7ab9a6df4b821868587bfaa8e3c2f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-10Update README/docs with new LABELS BINDINGV2 infosRomain Forlot2-0/+8
Change-Id: I419c02d9ab5ef785d3103b2e043d4df9fa244a6c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-10Change 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>
2017-08-09Generate .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>
2017-08-08No optimization in DEBUG build configurationRomain Forlot1-1/+0
Optimization complicate debugging. Change-Id: Ib000c36fd599b544ef96be9de35527baecf022e3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-08Format 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>
2017-07-31Fixed target-populate dependencies and update native-remote debugFulup Ar Foll3-10/+19
Change-Id: Ia041caa86dd57af48ae6ee53f26fb0be86f95e88 Signed-off-by: Fulup Ar Foll <fulup@iot.bzh>
2017-07-26Fix 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>
2017-07-25CommentRomain Forlot1-6/+6
Change-Id: I5a78f103c29c3535d332172ee0b0547de79cc193 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-252 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>
2017-07-25Change 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>
2017-07-21Project cmake file have precedence on home & sysRomain Forlot1-1/+1
Change-Id: Ied2c6e3c7f378b27a84229999b84dfc649a4e657 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-21README: point to the correct CMakeLists.txt sampleJosé Bollo1-1/+1
Change-Id: I4aad3403f190bf2033355a827e0e6fa5c1f7fe6d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-07-21README: update git repo urlJosé Bollo1-1/+1
Change-Id: I0c4a46c779d95a68c930e0747a17903352fe9bdb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-07-20Add 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>
2017-07-19Fix: bad afb-daemon flag, disable auto answer 'no'Romain Forlot2-2/+7
Change-Id: I3ee63512433c869fdd809ee1b6571205cd07a4e1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-18-pg flags belongs to profiling more than debugRomain Forlot1-1/+1
Change-Id: Iab550cc5653c7ef1094a8960aca9ca64f1aee1a4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-12Add group AGL to spec fileRonan Le Martret1-0/+1
Change-Id: I2f667226a372a721b0bb4067ee6e0779a10c6432 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-07-12Remove rpm macro "%__make", use "make" insteadRonan Le Martret1-1/+1
Change-Id: I6e2c77b1a21aeaa127e12fe5e1464a59f71e996f Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-07-11Linux 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>
2017-07-10Add an help target used by defaultRomain Forlot1-3/+16
Change-Id: Ifdf1d3968964a8d66ac218aa8d28b18bb0e94404 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-10Fix: crash if no DEST argument providedRomain Forlot1-2/+2
Change-Id: I21d426f0ed5cc6b0a8edf0ebb9ce3a69ab313d0b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-10Fix: 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>
2017-07-10FormatRomain Forlot1-2/+2
Change-Id: Ib31c28da19c766c43fcbf9002d0aa1e9ecb370ac Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-10Use recommended way to specify target dependenciesRomain Forlot1-11/+7
Change-Id: I6a8e5d435a0540522de555f521d24aa4de21050d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-09Fix invalid widget dir in config sampleSebastien Douheret1-1/+1
Change-Id: I6f26d49137bfc567eaae17eb06ad77ce645ee95d Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-07-07Default execution flag on shell scripts templates.Romain Forlot2-0/+0
Change-Id: I3db694c9c25e3fa6002390fb497b157f078ddbd8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-07Fix: also avoid cleaning generated packaging filesRomain Forlot1-36/+11
Change-Id: I312e0743e8faf03ecfc5b43c77a9edaf9b40d937 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>