summaryrefslogtreecommitdiffstats
path: root/cmake/cmake.d/01-variables.cmake
AgeCommit message (Collapse)AuthorFilesLines
2018-10-15Reorganization between variables/build optionsRomain Forlot1-153/+0
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>
2018-10-15Ease standard target DATA and HTDOCS creationRomain Forlot1-0/+4
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 Forlot1-6/+3
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-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-15Fixed target-populate dependencies and update native-remote debugFulup Ar Foll1-0/+3
Change-Id: Ia041caa86dd57af48ae6ee53f26fb0be86f95e88 Signed-off-by: Fulup Ar Foll <fulup@iot.bzh>
2018-10-152 Kernel checks available (warning or mandatory)Romain Forlot1-0/+15
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-15Adding detection of a Yocto build environmentRomain Forlot1-4/+2
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: Debian things triggered even when use the SDKRomain Forlot1-2/+2
USe variable reference not its value to test if defined Change-Id: If59be00e2666d9e66f386fe0ca2cf39b386d0197 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Comments and README updateRomain Forlot1-0/+4
Change-Id: I5b790459cd17e5cebbc415df68f040a9863215a4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Use variable to handle autobuild target directoryRomain Forlot1-0/+4
Change-Id: If544267154111148b4e279ad6937c60195b20e26 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: Debian detection, only valid in native envRomain Forlot1-4/+4
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 Forlot1-0/+3
Change-Id: I36c0ff6d5b65b5da1258bb9807a5476cba2e4280 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15change path etc/config.cmake to conf.d/cmake/config.cmakeRonan Le Martret1-2/+2
Change-Id: I98d51ce911c51ced28760c53420ffdf474fe48f1 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-15Recurse over template files to configure them.Romain Forlot1-0/+123
Change-Id: I4e18946ac986a0c128b1d6f00185c0fd2200f643 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>