]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
uboot-tools: disable pylibfdt
authorMatt Weber <matthew.weber@rockwellcollins.com>
Wed, 1 Nov 2017 17:18:49 +0000 (12:18 -0500)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 16 Nov 2017 14:32:03 +0000 (15:32 +0100)
commitb05215d9d81f30ba5fa24884f22bc07f2633099e
treed36441c58e49877eea52158b22e05e06cc86cd9c
parentf9d8efd7d1c3c303b9dbe161ae8b455a100ff6fe
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>
(cherry picked from commit 0bcd09ffcabbcce74ed00bc38620f71a34a59b45)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/uboot-tools/0004-uboot-tools-disable-pylibfdt.patch [new file with mode: 0644]