mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-06-03 13:49:55 +00: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:
committed by
Andrei Gherzan
parent
06630f323d
commit
26000aace1
@@ -9,11 +9,7 @@ RDEPENDS_${PN} = "rpi-config"
|
|||||||
|
|
||||||
COMPATIBLE_MACHINE = "raspberrypi"
|
COMPATIBLE_MACHINE = "raspberrypi"
|
||||||
|
|
||||||
SRC_URI = " \
|
S = "${RPIFW_S}/boot"
|
||||||
git://github.com/raspberrypi/firmware.git;protocol=git;branch=master \
|
|
||||||
"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/git/boot"
|
|
||||||
|
|
||||||
PR = "r3"
|
PR = "r3"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
# 7/1/2013 firmware; this can be overridden from distro config
|
# 7/1/2013 firmware; this can be overridden from distro config
|
||||||
RPIFW_SRCREV ?= "0ac68cce44d4550c251172e8524100090e8211fa"
|
RPIFW_SRCREV ?= "0ac68cce44d4550c251172e8524100090e8211fa"
|
||||||
RPIFW_DATE ?= "20130107"
|
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}"
|
SRCREV = "${RPIFW_SRCREV}"
|
||||||
PV = "${RPIFW_DATE}"
|
PV = "${RPIFW_DATE}"
|
||||||
|
|||||||
@@ -8,11 +8,12 @@ COMPATIBLE_MACHINE = "raspberrypi"
|
|||||||
|
|
||||||
include ../common/firmware.inc
|
include ../common/firmware.inc
|
||||||
|
|
||||||
SRC_URI = "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master\
|
SRC_URI += " \
|
||||||
file://egl.pc \
|
file://egl.pc \
|
||||||
file://vchiq.sh"
|
file://vchiq.sh \
|
||||||
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/git/${VCDIR}"
|
S = "${RPIFW_S}/${VCDIR}"
|
||||||
|
|
||||||
INCPR = "r1"
|
INCPR = "r1"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user