build: Support for out of source builds added
authorBachtin, Dmitri <dbachtin@init-ka.de>
Thu, 19 Nov 2015 12:31:02 +0000 (13:31 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 22 Nov 2015 11:37:43 +0000 (12:37 +0100)
commitf94b7575aa919e5a090b2e945c62273b72c87ad0
tree3ce66d105ed0d780feb01bf57766ae4fa1703b8a
parente92c1f88d6dbd1d8dd955f198b5cc47b58688c57
build: Support for out of source builds added

The scripts gen-{header,code,error-list}.pl were called with
source-local paths what disallowed out of source builds.

Updated CMakeLists.txt to call the scripts with ${CMAKE_SOURCE_DIR}
prefix.

Signed-off-by: Dmitri Bachtin <dbachtin@init-ka.de>
CMakeLists.txt