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 12:03:20 +0000 (13:03 +0100)
commit294e908a2cb53ab4ea34e202a31fc941a4825e16
tree4041f1344747cdcb5d5885964eb93c252ee957ed
parente313a3302414c7d4480596e5441857c8511f79e4
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