From patchwork Thu Jul 26 10:36:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "David De Grave (Essensium/Mind)" X-Patchwork-Id: 949583 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mind.be Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mind-be.20150623.gappssmtp.com header.i=@mind-be.20150623.gappssmtp.com header.b="ThZJ64pN"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41bpSH3kxfz9ryl for ; Thu, 26 Jul 2018 20:37:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2B04C867C5; Thu, 26 Jul 2018 10:36:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R6eCSxVkQGY4; Thu, 26 Jul 2018 10:36:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8FFC38679B; Thu, 26 Jul 2018 10:36:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 511B41C0BB1 for ; Thu, 26 Jul 2018 10:36:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4D63E87C00 for ; Thu, 26 Jul 2018 10:36:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VAsN2DAaBHo0 for ; Thu, 26 Jul 2018 10:36:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id F078187BFD for ; Thu, 26 Jul 2018 10:36:52 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id o18-v6so1508403wmc.0 for ; Thu, 26 Jul 2018 03:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind-be.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1oSP7rzPA0AeegZSs7u+dYuP3MoqxZs7/RFC+Lvpm/w=; b=ThZJ64pNfSIEgwv0arzCzGJ6IKf47vQ7dLH0iBHx5f6D4Roiwwqwlg4WGwMHpYq1Fi 7MzcBfYRqLhWQ2vJAvcOIisPTs+lWdF87dYMmS38UWQKMlxpdt18rs2gh0Z4xCmGmOKK tTU1CRnGQnXB1aA1R3H61OYa/0McbxwBdbzesChRwKu7TgWhOH4M3QZ3sR109X+MUZGG vpsbXKqVEuAzGPJuPieWVUqHvHsPN+sjF6Hps/zpxzs1SK/xJIkqDjG1SZlSk20koxI6 XDFua9iBZS10nm2w6hK8SQCsvzuOQpF1ZvTe/0Y9T/83TGKjyAt7vApYBU7QpFi+5rQX VDCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1oSP7rzPA0AeegZSs7u+dYuP3MoqxZs7/RFC+Lvpm/w=; b=DqF44CwXICBByTo/bpTD/+8v6rLKWfw03qFF3qGMb9S/zJcW0JvPRT0LgNAEFg8j72 p4b5yF7UgDApneXZjubjVZR+8sgMHZV2kJnXqZ13tMwRKqIivFECQLzGl84iIXBRnURk ZJP5kzbTQ1QZYBQGokadu71YrOLEkLvne6tUQm5P+tMLBS5Ts2u4gpSKOX6ZQgP6STqO g/tHBPs8jgug81WmvLCt0rJ92h1VDbxIsFmeg7gucZmpXSxFDTavGnp57bttjZG/gNJE c2KJsvo0seXrN5H9B03bzA+05qi5phFwdenaLHWVCwORUXwNpPax77PwIiF1zwi6Rpa3 3RfA== X-Gm-Message-State: AOUpUlElfVn9bnaoPWTky/Ihw52fePPJMBHxfxxScad3bkDHjIDKF0ZP rb6F+ZACUgaRdJEIKEVP33fkl2cOLPv2ng== X-Google-Smtp-Source: AAOMgpdrSpTTVLR3+w6VGrz2ENdy2vQ/PhMfF72npZUtfusTPMcMSF4C5KIYLQZlF4Gty6tUzvjtcg== X-Received: by 2002:a1c:96c8:: with SMTP id y191-v6mr1147162wmd.37.1532601410866; Thu, 26 Jul 2018 03:36:50 -0700 (PDT) Received: from mind-ledav-net.local.ess-mail.com (ip-188-118-3-185.reverse.destiny.be. [188.118.3.185]) by smtp.gmail.com with ESMTPSA id b10-v6sm1009869wrr.88.2018.07.26.03.36.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Jul 2018 03:36:49 -0700 (PDT) From: "David De Grave (Essensium/Mind)" To: buildroot@buildroot.org Date: Thu, 26 Jul 2018 12:36:30 +0200 Message-Id: <20180726103630.8643-2-david.degrave@mind.be> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180726103630.8643-1-david.degrave@mind.be> References: <20180726103630.8643-1-david.degrave@mind.be> Subject: [Buildroot] [PATCH 1/1] boot/uboot: Really use host-dtc X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "David De Grave \(Essensium/Mind\)" MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" U-Boot's build system (at least in 2018.01) does not use $(HOST_DIR)/bin/dtc to compile dts files. Instead it tries to use it's internal dtc who is not compiled by default and result in a build failure: DTC arch/arm/dts/foo.dtb /bin/sh: ./scripts/dtc/dtc: No such file or directory make[4]: *** [scripts/Makefile.lib:329: arch/arm/dts/foo.dtb] Error 127 To reproduce this error, use a uboot config that contains the following: CONFIG_MULTI_DTB_FIT=y CONFIG_OF_LIST="foo" Signed-off-by: David De Grave (Essensium/Mind) Reviewed-by: Arnout Vandecappelle (Essensium/Mind) --- boot/uboot/uboot.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index bf227f2893..e877de221e 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -141,6 +141,7 @@ UBOOT_MAKE_OPTS += BL31=$(BINARIES_DIR)/bl31.bin endif ifeq ($(BR2_TARGET_UBOOT_NEEDS_DTC),y) +UBOOT_MAKE_OPTS += DTC=$(HOST_DIR)/bin/dtc UBOOT_DEPENDENCIES += host-dtc endif