Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C2345E00D20; Sat, 13 Apr 2019 04:15:18 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low * trust * [80.241.60.212 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid X-Greylist: delayed 343 seconds by postgrey-1.32 at yocto-www; Sat, 13 Apr 2019 04:15:17 PDT Received: from mx1.mailbox.org (mx1.mailbox.org [80.241.60.212]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5AD08E00BAF for ; Sat, 13 Apr 2019 04:15:17 -0700 (PDT) Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 67EB74C226 for ; Sat, 13 Apr 2019 13:09:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= message-id:date:date:subject:subject:from:from:received; s= mail20150812; t=1555153762; bh=Ok2B/I8WtaUvvciCf7zF2KQ6rfbtL/iqc q+3cplqXFY=; b=xJXYkbEtBbBOvXV5cWYCXpbdQTKIuCrF6xQ+cG6r8vLArKsXC S6PngcQFF8QZhL0oKPBPWbajeBkEiLtgbdUcFR/h4kxiXHYpaLkuHUfv0UPSUzix ozcqudFOR9enz5DamgUJtq+SmTjeQugwFRyuf0/lHCyTsnN6OdkXHfrKGPF6Cvp7 UYzgCis0WJo3wsnThFL+opbGIXC2V9Zici2OBLipWkXPyoUPkSIJE/REYYuA81BL 9QGJSak7XlpFYZeMbWqJsoSuZO2KmuWSov4AODCr9uVeYTmyX6FrGFEkPdTKqnV/ NxmxRCKYixLBPqimWkKUQ7fUNaR2r/spgIyyw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1555153772; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=UAwrduNqkZk9yIaWTttotWri3XJi0JKQ/+g3YrXOwNg=; b=FojyK12ABIiO2icVgFTup1IVgWh0xpvwGASVn1Ze2ZdQA+Et1uT9qNS0428TW9FjTxsdxy sAktBNt6Ldw3/DMQ+BC+E3+fNVfAu3jf/ZvG+vX/znPHg5nebhArZtzUIdY28kNcm9RZ+L vlQQ1abWrJYhI5naMRjsRJo+ohF25N5+b00IapbrB91vTPybU1WFegTz6aTLEXeB3wbF99 JLDVGMnP+d0Y0jvwg7rzRR66IcbF9EJm2/lqzzpPN6ZQoN+aKwOIuZ6Agc50d8BfGtOBtn utZB3oP1Cz0dacxM3n6LTNzBCYmnO4VSKKlXUcNZ6s9YxOCrsqyeJR0VugcrwQ== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id f1vqH_qye8kP for ; Sat, 13 Apr 2019 13:09:22 +0200 (CEST) From: Carlos Rafael Giani To: meta-freescale@yoctoproject.org Date: Sat, 13 Apr 2019 13:09:16 +0200 Message-Id: <20190413110916.21513-1-crg7475@mailbox.org> Subject: [PATCH] u-boot-imx: Fix x86_64-linux-gnu-gcc compilation error X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Apr 2019 11:15:18 -0000 This fixes the compiler error: | unable to execute 'x86_64-linux-gnu-gcc': No such file or directory | error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 Signed-off-by: Carlos Rafael Giani --- .../0001-tools-allow-to-override-python.patch | 46 +++++++++++++++++++ recipes-bsp/u-boot/u-boot-imx_2017.03.bb | 4 +- 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100755 recipes-bsp/u-boot/u-boot-imx/0001-tools-allow-to-override-python.patch diff --git a/recipes-bsp/u-boot/u-boot-imx/0001-tools-allow-to-override-python.patch b/recipes-bsp/u-boot/u-boot-imx/0001-tools-allow-to-override-python.patch new file mode 100755 index 00000000..f96de538 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-imx/0001-tools-allow-to-override-python.patch @@ -0,0 +1,46 @@ +From b48bfc74ee410b1e6681c620633ffef32aafaba0 Mon Sep 17 00:00:00 2001 +From: Stefano Babic +Date: Wed, 5 Apr 2017 17:46:41 +0200 +Subject: [PATCH] tools: allow to override python + +Not force to use python from PATH. Issue was noted when building with +Yocto, because python from the distro is always taken instead of +python-native built during Yocto process. + +Signed-off-by: Stefano Babic +CC: Simon Glass +Reviewed-by: Simon Glass +--- + Makefile | 2 +- + tools/Makefile | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 09b597d450..8d4e6050b3 100644 +--- a/Makefile ++++ b/Makefile +@@ -348,7 +348,7 @@ OBJCOPY = $(CROSS_COMPILE)objcopy + OBJDUMP = $(CROSS_COMPILE)objdump + AWK = awk + PERL = perl +-PYTHON = python ++PYTHON ?= python + DTC = dtc + CHECK = sparse + +diff --git a/tools/Makefile b/tools/Makefile +index fa1b85bdae..2fc4a583d4 100644 +--- a/tools/Makefile ++++ b/tools/Makefile +@@ -120,7 +120,7 @@ _libfdt.so-sharedobjs += $(LIBFDT_OBJS) + libfdt: + + tools/_libfdt.so: $(patsubst %.o,%.c,$(LIBFDT_OBJS)) tools/libfdt_wrap.c +- LDFLAGS="$(HOSTLDFLAGS)" python $(srctree)/lib/libfdt/setup.py \ ++ LDFLAGS="$(HOSTLDFLAGS)" ${PYTHON} $(srctree)/lib/libfdt/setup.py \ + "$(_hostc_flags)" $^ + mv _libfdt.so $@ + +-- +2.17.1 + diff --git a/recipes-bsp/u-boot/u-boot-imx_2017.03.bb b/recipes-bsp/u-boot/u-boot-imx_2017.03.bb index 705ff164..af83eaec 100644 --- a/recipes-bsp/u-boot/u-boot-imx_2017.03.bb +++ b/recipes-bsp/u-boot/u-boot-imx_2017.03.bb @@ -11,7 +11,9 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRCBRANCH = "imx_v2017.03_4.9.123_imx8mm_ga" -SRC_URI = "git://source.codeaurora.org/external/imx/uboot-imx.git;protocol=https;branch=${SRCBRANCH}" +SRC_URI = "git://source.codeaurora.org/external/imx/uboot-imx.git;protocol=https;branch=${SRCBRANCH} \ + file://0001-tools-allow-to-override-python.patch \ + " SRCREV = "8be98e9322040c655b9e5c9fb2c494e002e3fad9" S = "${WORKDIR}/git" -- 2.17.1