mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00
bootfiles, vc-graphics: consolidate SRC_URI and S variables
The variables RPIFW_SRC_URI and RPIFW_S are created in the common firmware include file so that it is easier to override the firmware source in a local or distro config file. RPIFW_SRC_URI is used to set SRC_URI in firmware.inc as it is common to both bootfiles and vc-graphics. RPIFW_S is used as a prefix for S in bcm2835-bootfiles.bb and vc-graphics.inc as different subdirectories are referenced in each recipe. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
This commit is contained in:
parent
06630f323d
commit
26000aace1
|
@ -9,11 +9,7 @@ RDEPENDS_${PN} = "rpi-config"
|
|||
|
||||
COMPATIBLE_MACHINE = "raspberrypi"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/raspberrypi/firmware.git;protocol=git;branch=master \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git/boot"
|
||||
S = "${RPIFW_S}/boot"
|
||||
|
||||
PR = "r3"
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# 7/1/2013 firmware; this can be overridden from distro config
|
||||
RPIFW_SRCREV ?= "0ac68cce44d4550c251172e8524100090e8211fa"
|
||||
RPIFW_DATE ?= "20130107"
|
||||
RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
|
||||
RPIFW_S ?= "${WORKDIR}/git"
|
||||
|
||||
SRC_URI = "${RPIFW_SRC_URI}"
|
||||
SRCREV = "${RPIFW_SRCREV}"
|
||||
PV = "${RPIFW_DATE}"
|
||||
|
|
|
@ -8,11 +8,12 @@ COMPATIBLE_MACHINE = "raspberrypi"
|
|||
|
||||
include ../common/firmware.inc
|
||||
|
||||
SRC_URI = "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master\
|
||||
file://egl.pc \
|
||||
file://vchiq.sh"
|
||||
SRC_URI += " \
|
||||
file://egl.pc \
|
||||
file://vchiq.sh \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git/${VCDIR}"
|
||||
S = "${RPIFW_S}/${VCDIR}"
|
||||
|
||||
INCPR = "r1"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user