summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2017-04-15 20:19:04 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-16 10:39:33 +0200
commite6f077832fa8565f64cf8c28a6c96a6dea98fb9e (patch)
treeec320adf0521edc0bb6bb0b396f6a42d91e74faa
parentfe8e6a85a49f96e967f1b408fc79f719f66800a1 (diff)
downloadbuildroot-e6f077832fa8565f64cf8c28a6c96a6dea98fb9e.tar.gz
buildroot-e6f077832fa8565f64cf8c28a6c96a6dea98fb9e.zip
phytool: add kernel headers dependency
phytool includes linux/mdio.h, that is available since kernel 3.7. So add related dependency. Fixes: http://autobuild.buildroot.net/results/e0e/e0eebcb9a694cd5d4c76c40e5dba971e3ac9d7c5/ Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/phytool/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/phytool/Config.in b/package/phytool/Config.in
index 7dca31dda2..985468f1f4 100644
--- a/package/phytool/Config.in
+++ b/package/phytool/Config.in
@@ -1,6 +1,10 @@
config BR2_PACKAGE_PHYTOOL
bool "phytool"
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 # linux/mdio.h
help
Linux MDIO register access utility.
https://github.com/wkz/phytool
+
+comment "phytool needs a toolchain w/ headers >= 3.7"
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
OpenPOWER on IntegriCloud