Skip to contentSkip to conversation

phytool: add kernel headers dependency

PATCH New Yegor Yefremov 2 participants 2 messages Apr 15, 2017 – Apr 16, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/phytool/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/phytool/Config.in +4 -0
index 7dca31d..985468f 100644
@@ -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
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 phytool: add kernel headers dependency

Hello,

Quoted 10 lines · Yegor Yefremov

phytool includes linux/mdio.h, that is available since kernel 3.7. So add related dependency.

Fixes:
http://autobuild.buildroot.net/results/e0e/e0eebcb9a694cd5d4c76c40e5dba971e3ac9d7c5/

---
 package/phytool/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com