build: conditionally enable testing-kernel feature
authorDavid Bauer <mail@david-bauer.net>
Tue, 7 Jul 2020 08:32:09 +0000 (10:32 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 7 Jul 2020 08:32:09 +0000 (10:32 +0200)
commitcf6f01c0e69a31afc6c5f384405ace51e03fe481
treef3a102a1abe2c7b1b70b7c25f58e8448f9c83dc4
parentf496939f15b07c3386769491f7e4beb16b072240
build: conditionally enable testing-kernel feature

Only enable the testing-kernel feature for the target when the testing
kernel version does not match the stable kernel version.

This way, the option for building the testing kernel in the build config
menu is only exposed when there's a testing kernel available.

Signed-off-by: David Bauer <mail@david-bauer.net>
Acked-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
include/target.mk