uboot-tools: disable pylibfdt
authorMatt Weber <matthew.weber@rockwellcollins.com>
Wed, 1 Nov 2017 17:18:49 +0000 (12:18 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 2 Nov 2017 21:25:16 +0000 (22:25 +0100)
commit0bcd09ffcabbcce74ed00bc38620f71a34a59b45
tree3738dd5fb334b11f2172e7c756f7fb297f158114
parent93a86b4dec9e73fbe0e186cdde8fb04a36a44762
uboot-tools: disable pylibfdt

The current U-Boot build system assumes that if swig is installed on
the host system, it should build pylibfdt, without checking if other
dependencies are available. This causes a number of build failures.

This commit fixes that by using concepts from the future upstream fix
(post 2017.11), which sets up a kconfig variable for pylibfdt and
conditionally enables the swig wrapper creation (default=n).

Relevant upstream patches under review:

 - https://patchwork.ozlabs.org/patch/826742/
 - https://patchwork.ozlabs.org/patch/826752/

This patch only affects uboot-tools, in which we never need
pylibfdt. The logic in the uboot package, with its
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT option, remains unchanged.

Fixes (one of many):

  http://autobuild.buildroot.net/results/f9e13caae9b31c9dcde7d24caecc036324f269cc

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Tested-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Reviewed-by: Jan Kundrát <jan.kundrat@cesnet.cz>
[Thomas: improved commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/uboot-tools/0004-uboot-tools-disable-pylibfdt.patch [new file with mode: 0644]