mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
firmware: use common include to set source revision and include date in version
The firmware is split over multiple packages all of which need to use the same source revision. Also, the firmware is currently not formally versioned, so at least use the date the firmware was released in the versions.
This commit is contained in:
parent
fac94bf7de
commit
0e566b3483
|
@ -3,11 +3,10 @@ LICENSE = "proprietary-binary"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://LICENCE.broadcom;md5=e86e693d19572ee64cc8b17fb062faa9"
|
LIC_FILES_CHKSUM = "file://LICENCE.broadcom;md5=e86e693d19572ee64cc8b17fb062faa9"
|
||||||
|
|
||||||
# This is on the master branch
|
include ../common/firmware.inc
|
||||||
SRCREV = "56cd7ffb3f7244017c8eb3b492ea37592c678506"
|
|
||||||
|
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
git://github.com/raspberrypi/firmware.git;protocol=git;branch=master \
|
git://github.com/raspberrypi/firmware.git;protocol=git;branch=master \
|
||||||
"
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/git/boot"
|
S = "${WORKDIR}/git/boot"
|
||||||
|
@ -23,7 +22,7 @@ do_deploy() {
|
||||||
done
|
done
|
||||||
for i in *.bin ; do
|
for i in *.bin ; do
|
||||||
cp $i ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
|
cp $i ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
8
recipes-bcm/common/firmware.inc
Normal file
8
recipes-bcm/common/firmware.inc
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
|
||||||
|
# 21/06/2012 firmware; this can be overridden from distro config
|
||||||
|
RPIFW_SRCREV ?= "fc0232ac463f0618914bab9314e8e2ae27466d8c"
|
||||||
|
RPIFW_DATE ?= "20120621"
|
||||||
|
|
||||||
|
|
||||||
|
SRCREV = "${RPIFW_SRCREV}"
|
||||||
|
PV = "${RPIFW_DATE}"
|
|
@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=86e53f5f5909ee66900418028de11780"
|
||||||
|
|
||||||
PROVIDES += "virtual/egl"
|
PROVIDES += "virtual/egl"
|
||||||
|
|
||||||
SRCREV = "1178c4db57e8676f331fdacfb37ff1662430ea5f"
|
include ../common/firmware.inc
|
||||||
|
|
||||||
SRC_URI = "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master\
|
SRC_URI = "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master\
|
||||||
file://egl.pc"
|
file://egl.pc"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user