cmake: skip build system check on compile
authorFelix Fietkau <nbd@nbd.name>
Mon, 20 Feb 2017 11:13:51 +0000 (12:13 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 21 Feb 2017 15:16:25 +0000 (16:16 +0100)
commitf6d94b0dd67f4d5e5dbadbd97a765732d6a0e757
tree2e2490354d9e11e3c9ac5a6a603792c38aaa8254
parent59508e309e91ba152ae43ef1d6983f2f6f873632
cmake: skip build system check on compile

cmake checks the build system and its variables on its own to detect if
the makefiles need to be regenerated.
Unfortunately this can invalidate overrides passed in the
Build/Configure step. On non-Linux systems this breaks the build when
switching between targets of the same package architecture.

Fix this by forcibly disabling the build system check and relying on the
LEDE build system to take care of these things

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/cmake.mk