Building the dtc fails if flex is not installed. As ptxdist requires
flex as build dependency, the host usually already has flex and the
missing dependency is hidden.

Add host-flex as a explicit dependency for host-dtc.

Signed-off-by: Michael Tretter <m.tret...@pengutronix.de>
---
 platforms/host-dtc.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/platforms/host-dtc.in b/platforms/host-dtc.in
index 5f6fb0f48872..4567464c3d6b 100644
--- a/platforms/host-dtc.in
+++ b/platforms/host-dtc.in
@@ -2,6 +2,7 @@
 
 menuconfig HOST_DTC
        tristate "dtc                           "
+       select HOST_FLEX
        help
          Select this if the HOST_DTC tool is required without
          building a device tree. (It is also used for building
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to