All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ross Burton" <ross@burtonini.com>
To: meta-arm@lists.yoctoproject.org
Subject: [PATCH 4/9] arm/scp-firmware: use gitsm fetcher
Date: Wed, 29 Jul 2020 11:11:40 +0100	[thread overview]
Message-ID: <20200729101145.1794231-4-ross@burtonini.com> (raw)
In-Reply-To: <20200729101145.1794231-1-ross@burtonini.com>

From: Ross Burton <ross.burton@arm.com>

The standard git fetcher ignores submodules but as scp-firmware uses
submodules it should use the gitsm: fetcher to automatically fetch cmsis
instead of doing it manually.

Change-Id: I2f83100fa53070b6560be6fb7322383345224bb1
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../recipes-bsp/scp-firmware/scp-firmware_git.bb | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb b/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb
index d7d67e0..a211621 100644
--- a/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb
+++ b/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb
@@ -3,20 +3,10 @@ DESCRIPTION = "Firmware for SCP and MCP software reference implementation"
 HOMEPAGE = "https://github.com/ARM-software/SCP-firmware"
 
 LICENSE = "BSD-3-Clause & Apache-2.0"
-
-# SCP
 LIC_FILES_CHKSUM = "file://license.md;beginline=5;md5=9db9e3d2fb8d9300a6c3d15101b19731"
-# CMSIS
-LIC_FILES_CHKSUM += "file://cmsis/LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
-
-SRC_URI = "\
-    git://github.com/ARM-software/SCP-firmware.git;protocol=https;name=scp;destsuffix=src;nobranch=1 \
-    git://github.com/ARM-software/CMSIS_5.git;protocol=https;name=cmsis;destsuffix=src/cmsis;lfs=0;nobranch=1 \
-"
 
-SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
-SRCREV_cmsis  = "refs/tags/5.2.0"
-SRCREV_FORMAT = "scp_cmsis"
+SRC_URI = "gitsm://github.com/ARM-software/SCP-firmware.git;protocol=https"
+SRCREV  = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
 
 PROVIDES += "virtual/control-processor-firmware"
 
@@ -33,7 +23,7 @@ inherit python3native
 inherit deploy
 
 B = "${WORKDIR}/build"
-S = "${WORKDIR}/src"
+S = "${WORKDIR}/git"
 
 # Allow platform specific copying of only scp or both scp & mcp, default to both
 FW_TARGETS ?= "scp mcp"
-- 
2.26.2


  parent reply	other threads:[~2020-07-29 10:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29 10:11 [PATCH 1/9] arm/scp-firmware: merge bb/inc Ross Burton
2020-07-29 10:11 ` [PATCH 2/9] arm/scp-firmware: oe_runmake already passes EXTRA_OEMAKE Ross Burton
2020-07-29 10:11 ` [PATCH 3/9] arm/scp-firmware: always compile verbosely Ross Burton
2020-07-29 10:11 ` Ross Burton [this message]
2020-07-30  8:37   ` [PATCH 4/9] arm/scp-firmware: use gitsm fetcher Ross Burton
2020-07-29 10:11 ` [PATCH 5/9] arm-bsp/scp-firmware: remove cmsis SRCREV Ross Burton
2020-07-29 10:11 ` [PATCH 6/9] arm-bsp/scp-firmware: use wildcard bbappend Ross Burton
2020-07-29 10:11 ` [PATCH 7/9] arm/scp-firmware: move to 2.6.0 release tag Ross Burton
2020-07-30 19:54   ` [meta-arm] " Jon Mason
2020-07-29 10:11 ` [PATCH 8/9] arm-bsp/scp-firmware: use full version number 2.6.0, not 2.6 Ross Burton
2020-07-29 10:11 ` [PATCH 9/9] arm-bsp/scp-firmware: bump TC0 SRCREV and fix PV Ross Burton
2020-07-30 19:55 ` [meta-arm] [PATCH 1/9] arm/scp-firmware: merge bb/inc Jon Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200729101145.1794231-4-ross@burtonini.com \
    --to=ross@burtonini.com \
    --cc=meta-arm@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.