package/mdio-tools: fix Config.in comment dependency

We want to show the headers >= 5.1 Config.in comment when the
BR2_LINUX_KERNEL is satisfied, not when it isn't.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Petazzoni 2022-10-27 11:55:40 +02:00
parent 8fdf8731e7
commit f51600d04c

View File

@ -2,7 +2,7 @@ comment "mdio-tools needs a Linux kernel to be built"
depends on !BR2_LINUX_KERNEL
comment "mdio-tools needs a toolchain w/ headers >= 5.1"
depends on !BR2_LINUX_KERNEL
depends on BR2_LINUX_KERNEL
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
config BR2_PACKAGE_MDIO_TOOLS