From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6883009067021762560 X-Received: by 2002:a19:4ac8:: with SMTP id x191mr1938721lfa.155.1602575432338; Tue, 13 Oct 2020 00:50:32 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:14d:: with SMTP id c13ls3233569ljd.8.gmail; Tue, 13 Oct 2020 00:50:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydkiM4LrBdVqx2RWZVjFvG8mxwm8s8kEI3N6tNUIMhabdfck9S8T2iSBDPJ71eE9zw5tb+ X-Received: by 2002:a2e:3905:: with SMTP id g5mr11024854lja.318.1602575431079; Tue, 13 Oct 2020 00:50:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602575431; cv=none; d=google.com; s=arc-20160816; b=LrfoJY8Tt1EBdQQNR/FoeIpwaeUJbPE7b8WqNxZqQpMojRwAumfdOmSqDEItPwJqX8 2S7urBcSi68PtMJ672+G6d1UO+YmN+8Y2T5dZjVGfySAFL9Fs+x5oJw7SxJDjtVfhq70 ctIeHpGnLxjHjvSg2wXXp9eYB/KTxotCsvHUA09zu06+z9jaQV0wlHhydxJe7ZUKzJ2L 3fq+kS1FHjJRdaBtUFYVCqNVkzPvyz0Uumt0pMzKSTVCt3mDP/W1iVD/DpSUlsXji5+i Dru5WljZpLmj8NcQKw3TFdOkdoGQbAGhuMSb8AFwRslNtZXkjUJI+wjkYWwKmLX+EgP6 DLJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=2DXhbedjKEJtBuMg+Dnqi3DoiL2GWu3zOEm+aH/UDKY=; b=rLjYTB1TwXWro0N0wI+Cdf8BB7II4NdqSWT7mANUgUHskHDNe3etzX0x0PSNgswPt8 MjivTnxIHGH+sfCD17VEBVwnybmlBJHQJ+frF7LnHKRc+Bx+jULFk2mW+gNmKrUq86g1 Byln/1r9sJHLqM9FsNCICTbLpYPM2xQXEGLL7TTRjdWajzIW1Rd1TfhIi0JePezUDa5V lHHRqaLygfnilsF2IcTJXIZWm02+uoWOqAlXXH8SanKD0OSl5N+EkBfe7UkLWGa5UKEg POO+J0Y4pyNpSCbq0GMwJeu7NX0/Z3XAyd74vVDe0lv5BypANu5vUv34QtYiCZhMY35f DYYA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id q11si445347lfo.8.2020.10.13.00.50.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2020 00:50:31 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 09D7oUIF013679 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 13 Oct 2020 09:50:30 +0200 Received: from md1f2u6c.ad001.siemens.net ([167.87.21.249]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 09D7oTau020807 for ; Tue, 13 Oct 2020 09:50:30 +0200 From: Jan Kiszka To: isar-users Subject: [PATCH 04/11] meta-isar: u-boot: Factor our de0-nano-soc recipe Date: Tue, 13 Oct 2020 09:50:21 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: mYPaL3HhzX4B From: Jan Kiszka We need to change the name of the recipe as a second user (machine) will come along. Signed-off-by: Jan Kiszka --- meta-isar/conf/machine/de0-nano-soc.conf | 1 + .../u-boot/{u-boot_2020.10.bb => u-boot-2020.10.inc} | 3 +-- .../recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb | 9 +++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) rename meta-isar/recipes-bsp/u-boot/{u-boot_2020.10.bb => u-boot-2020.10.inc} (75%) create mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb diff --git a/meta-isar/conf/machine/de0-nano-soc.conf b/meta-isar/conf/machine/de0-nano-soc.conf index 3a2c0092..5a734d4d 100644 --- a/meta-isar/conf/machine/de0-nano-soc.conf +++ b/meta-isar/conf/machine/de0-nano-soc.conf @@ -7,6 +7,7 @@ DISTRO_ARCH ?= "armhf" KERNEL_NAME ?= "mainline" +PREFERRED_PROVIDER_u-boot-de0-nano-soc = "u-boot-de0-nano-soc" U_BOOT_CONFIG_de0-nano-soc = "socfpga_de0_nano_soc_defconfig" U_BOOT_BIN_de0-nano-soc = "u-boot-with-spl.sfp" diff --git a/meta-isar/recipes-bsp/u-boot/u-boot_2020.10.bb b/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc similarity index 75% rename from meta-isar/recipes-bsp/u-boot/u-boot_2020.10.bb rename to meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc index 605f484b..604776a6 100644 --- a/meta-isar/recipes-bsp/u-boot/u-boot_2020.10.bb +++ b/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc @@ -10,5 +10,4 @@ SRC_URI += " \ " SRC_URI[sha256sum] = "0d481bbdc05c0ee74908ec2f56a6daa53166cc6a78a0e4fac2ac5d025770a622" -# Just for testing purposes, distro package would be recent enough -U_BOOT_TOOLS_PACKAGE = "1" +S = "${WORKDIR}/u-boot-${PV}" diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb b/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb new file mode 100644 index 00000000..dcb76c53 --- /dev/null +++ b/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb @@ -0,0 +1,9 @@ +# +# Copyright (c) Siemens AG, 2018-2020 +# +# SPDX-License-Identifier: MIT + +require u-boot-${PV}.inc + +# Just for testing purposes, distro package would be recent enough +U_BOOT_TOOLS_PACKAGE = "1" -- 2.26.2