From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6609939533494484992 X-Received: by 2002:a1c:e86:: with SMTP id 128-v6mr283588wmo.10.1538996478056; Mon, 08 Oct 2018 04:01:18 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:ac32:: with SMTP id v47-v6ls29443wrc.6.gmail; Mon, 08 Oct 2018 04:01:17 -0700 (PDT) X-Google-Smtp-Source: ACcGV61sLVHKO6He6aCINGUeObj4vF/yPhBqfnh3YXii3M3M6OVrNEU1UfqR5YEgz9+ZUlBnPVyt X-Received: by 2002:adf:9ae5:: with SMTP id a92-v6mr2036582wrc.16.1538996476998; Mon, 08 Oct 2018 04:01:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538996476; cv=none; d=google.com; s=arc-20160816; b=S9TELvYzDsvrb12Nh/5iISlElMfmfeGPpce8yrXlcdBGjeJs30sXgp6kSR2vQsQjQo ATY3rt6l8aryMSbRs7vOWqfycRRjsgQSRy79Qj5W1v1B3y97V40Exw0IO8uDmzrhdzu9 KZKADeXnBXz01ExNc1SV8MY4RA6JSe1abXopOldhgqvtA4QtlZGZbRMonjEYqaooT1Dh QS4lnUi7eUn4eu4TVosDEp/XZJMTdWH4rtaW1CYi5Mhg3MDRA5u84x9YhMiHLfaOEabr piKugcNdRAO9fGgGepjD/CFV+pcQzq7/GZn6I/ShvPXKGo1WfsMV6Xtfblr8KkBl6mf/ rZow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:to:from; bh=MBx5RIH1Pbaiz8fWi3LbztWjguNZ0rsgCfeI3OSaU70=; b=Nz5Sk5VB9URan3p3Cb/8O/t+BZDtWf5637PrNiq8edFLSusI4udLnN3xfZNEKxpzXh drQJb/sF3SClCl8REqIopAGaw2SVIIiKxXISzzHvrP+KKbxT/+w6i4fBNGyp5wTC9ymW g6rKPp9izY9MdsoEMSyVakyN+53G/TtE+nNsV9JNpOrTP/076OxkEaRhxlty3WunrpXb eq90zX4Sq0Ub17f6uGpgTicOr3NAi+JHCXKL0W0jC9kQRmkS0Ndt3bRp0oNrlEna7Yoy 4mJZ+QGCOU8W6Txiz77uRL1IA4aoIvC1jFpY0uCqn6XvboH4b6Dk0BJMxlA5t+zQQYXc NHZw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id 204-v6si458880wmm.0.2018.10.08.04.01.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Oct 2018 04:01:16 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id w98B1GaY010995 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 8 Oct 2018 13:01:16 +0200 Received: from md1f2u6c.ad001.siemens.net ([167.87.48.216]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id w98B1ExN014631 for ; Mon, 8 Oct 2018 13:01:16 +0200 From: Jan Kiszka To: isar-users Subject: [PATCH 03/10] u-boot-custom: Allow to extend or replace U-Boot build dependencies Date: Mon, 8 Oct 2018 13:01:07 +0200 Message-Id: <6b34529da0e04e5685ee2048d5d221965ee23e6a.1538996473.git.jan.kiszka@siemens.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: References: In-Reply-To: References: X-TUID: rnZmMsFuBuVg From: Jan Kiszka Some U-Boot configurations may requires additional host-side tools. Allow to add them without major hacks. Signed-off-by: Jan Kiszka --- meta/recipes-bsp/u-boot/files/debian/control | 2 +- meta/recipes-bsp/u-boot/u-boot-custom.inc | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-bsp/u-boot/files/debian/control b/meta/recipes-bsp/u-boot/files/debian/control index df23a69..6b4c839 100644 --- a/meta/recipes-bsp/u-boot/files/debian/control +++ b/meta/recipes-bsp/u-boot/files/debian/control @@ -2,7 +2,7 @@ Source: @PN@ Section: admin Priority: optional Standards-Version: 3.9.6 -Build-Depends: bc, bison, flex, device-tree-compiler +Build-Depends: @BUILD_DEPENDS@ Maintainer: ISAR project Package: u-boot-@MACHINE@ diff --git a/meta/recipes-bsp/u-boot/u-boot-custom.inc b/meta/recipes-bsp/u-boot/u-boot-custom.inc index f3fca00..583cd47 100644 --- a/meta/recipes-bsp/u-boot/u-boot-custom.inc +++ b/meta/recipes-bsp/u-boot/u-boot-custom.inc @@ -15,9 +15,12 @@ inherit dpkg SRC_URI += "file://debian/" +U_BOOT_BUILD_DEPENDS ?= "bc, bison, flex, device-tree-compiler" + do_prepare_build() { cp -r ${WORKDIR}/debian ${S}/ sed -i -e 's/@PN@/${PN}/g' -e 's/@PV@/${PV}/g' \ + -e 's/@BUILD_DEPENDS@/${U_BOOT_BUILD_DEPENDS}/g' \ -e 's/@MACHINE@/${MACHINE}/g' \ -e 's/@DISTRO_ARCH@/${DISTRO_ARCH}/g' \ -e 's/@DESCRIPTION@/${DESCRIPTION}/g' \ -- 2.16.4