cmake: include/cmake.mk add CMAKE_BINARY_SUBDIR to allow out of source tree builds
authorLuke McKee <hojuruku@gmail.com>
Sat, 23 Jul 2016 19:00:24 +0000 (02:00 +0700)
committerFelix Fietkau <nbd@nbd.name>
Fri, 29 Jul 2016 18:27:34 +0000 (20:27 +0200)
commiteadf5fb7f8313d78fa503665e96457d080e6e3f9
tree22697a856c3d56963786b557eeb38389d10b0549
parent009d6d602496947877766df6f152c713056201de
cmake: include/cmake.mk add CMAKE_BINARY_SUBDIR to allow out of source tree builds

Some packages need out of source tree building with cmake, for example
when building kernel modules.
See an example here:
https://sourceforge.net/p/accel-ppp/code/ci/master/tree/README

Signed-off-by: Luke McKee <hojuruku@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup, rework]
include/cmake.mk
include/package-defaults.mk