diff --git a/classes/cmake-lib.bbclass b/classes/cmake-lib.bbclass index 4a089e01..280dc82c 100644 --- a/classes/cmake-lib.bbclass +++ b/classes/cmake-lib.bbclass @@ -1,47 +1,48 @@ # This class helps to align paths for cmake files in build sysroot while # keeping proper paths for target packages/rootfs # -# Alignment is controlled by +# Alignment is controlled by: # -# CMAKE_ALIGN_SYSROOT[unique-id] = "dir, search, replace" +# CMAKE_ALIGN_SYSROOT[unique-id] = "dir, search, replace" # -# 'unique-id': -# string value of your choice e.g. "1", "2"... -# !!COMMON PITFALL!!: Copy & Paste CMAKE_ALIGN_SYSROOT lines without updating unique-id -> -# not all lines are evaluated!! +# 'unique-id': +# string value of your choice e.g. "1", "2"... +# !!COMMON PITFALL!!: Copy & Paste CMAKE_ALIGN_SYSROOT lines without updating unique-id -> +# not all lines are evaluated!! # -# 'dir': -# cmake configuration files are usually installed as +# 'dir': +# cmake configuration files are usually installed as # -# 1. ${libdir}/cmake//*.cmake -# or -# 2. ${datadir}/cmake//*.cmake -# -# 'dir' can be any matching part of 1. and 2. but suggestion is to use -# is +# 1. ${libdir}/cmake//*.cmake +# or +# 2. ${datadir}/cmake//*.cmake # -# 'search'/'replace': -# cmake configuration files are scanned and the resulting string found in 'search' -# is replaced by resulting string of 'replace'. To create a resulting string currently -# 6 command-line like options are available (see parseparam below): +# 'dir' can be any matching part of 1. and 2. but suggestion is to use +# is # -# -f: -# Resulting string is taken from the file . This option should be -# choosen for longer strings or stings containg ','. -# -F: -# same as -f but bitbake variables are expanded e.g '${libdir}' -> '/usr/lib' -# -s -# Resulting string is -# -S -# same as -f but bitbake variables are expanded e.g '${libdir}' -> '/usr/lib' -# -c -# Resulting string is created by the shell command found in -# -C -# same as -c but bitbake variables are expanded BEFORE executing shell command +# 'search'/'replace': +# cmake configuration files are scanned and the resulting string found in 'search' +# is replaced by resulting string of 'replace'. To create a resulting string currently +# 6 command-line like options are available (see parseparam below): # -# Native overriding +# -f: +# Resulting string is taken from the file . This option should be +# choosen for longer strings or stings containg ','. +# -F: +# same as -f but bitbake variables are expanded e.g '${libdir}' -> '/usr/lib' +# -s +# Resulting string is +# -S +# same as -f but bitbake variables are expanded e.g '${libdir}' -> '/usr/lib' +# -c +# Resulting string is created by the shell command found in +# -C +# same as -c but bitbake variables are expanded BEFORE executing shell command # -# CMAKE_ALIGN_SYSROOT_class-native[unique-id] = "dir, search, replace" +# +# Native overriding: +# +# CMAKE_ALIGN_SYSROOT_class-native[unique-id] = "dir, search, replace" #