dtc: do not build/install python support
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 28 Jul 2018 13:33:51 +0000 (15:33 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 28 Jul 2018 13:33:51 +0000 (15:33 +0200)
commitb50c95e914c6366e30145378fa82f286d4412c51
tree3c82646a5bb8a612d9f6cdde3aa66774d9b33872
parente169c0f919e200bf23f0ffa02d5359745f131273
dtc: do not build/install python support

The pylibfdt in dtc is new since 1.4.5, and therefore built since the
bump from 1.4.4 to 1.4.7 in commit
7b929ddcf0812310d0113cf3675429dbd123aa99. Unfortunately, this Python
support causes a number of build failures, be it for host-dtc or dtc.

Since this Python support is not used/needed by anything in Buildroot
at this point, let's simply disable it by passing NO_PYTHON=1. While
doing this, introduce DTC_MAKE_OPTS and HOST_DTC_MAKE_OPTS to avoid
duplicating the variables several times.

Fixes:

  http://autobuild.buildroot.net/results/1ad41fd4890af0c97ee4ff2994ea5431b8953ef8/ (host-dtc)
  http://autobuild.buildroot.net/results/0aefc3aa03a93b1fdf76f2d8946b6f423405382f/ (dtc)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dtc/dtc.mk