pkg-cmake: allow to build package in a subdirectory
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Fri, 13 Mar 2015 08:24:08 +0000 (09:24 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 13 Mar 2015 21:34:43 +0000 (22:34 +0100)
commit604c92043bf0e40a8eb23aa54f57d0e49ca6fbe2
tree2f8595c20b51daaea5564d87b23864430a5fb9fa
parent68443c52dd871ec157aff6b3f77bed1294c2eb57
pkg-cmake: allow to build package in a subdirectory

For some cmake based packages, like GNURadio, it's forbidden to do the
compilation directly in the sources directory. This patch add a new
variable to specify, if needed, the name of a sub-directory used to compile.

[Thomas: put the documentation at the right place in the manual, not
in the middle of the <pkg>_CONF_OPTS description.]

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
docs/manual/adding-packages-cmake.txt
package/pkg-cmake.mk