summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Frydrych <tomas@sleepfive.com>2012-06-22 07:30:02 +0100
committerTomas Frydrych <tomas@sleepfive.com>2012-06-22 07:50:50 +0100
commit0e566b3483f5a8fd658c63534621664c34667152 (patch)
tree230f47a663c206d90dcf467bfcfa2c912854883e
parentfac94bf7de6ee76b8ef1f74bc1dba565eeaabf2a (diff)
downloadmeta-raspberrypi-0e566b3483f5a8fd658c63534621664c34667152.tar.gz
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.
-rwxr-xr-xrecipes-bcm/bootfiles/bcm2835-bootfiles.bb7
-rw-r--r--recipes-bcm/common/firmware.inc8
-rw-r--r--recipes-bcm/vc-graphics/vc-graphics.inc2
3 files changed, 12 insertions, 5 deletions
diff --git a/recipes-bcm/bootfiles/bcm2835-bootfiles.bb b/recipes-bcm/bootfiles/bcm2835-bootfiles.bb
index c0e204d..285f5ab 100755
--- a/recipes-bcm/bootfiles/bcm2835-bootfiles.bb
+++ b/recipes-bcm/bootfiles/bcm2835-bootfiles.bb
@@ -3,11 +3,10 @@ LICENSE = "proprietary-binary"
3 3
4LIC_FILES_CHKSUM = "file://LICENCE.broadcom;md5=e86e693d19572ee64cc8b17fb062faa9" 4LIC_FILES_CHKSUM = "file://LICENCE.broadcom;md5=e86e693d19572ee64cc8b17fb062faa9"
5 5
6# This is on the master branch 6include ../common/firmware.inc
7SRCREV = "56cd7ffb3f7244017c8eb3b492ea37592c678506"
8 7
9SRC_URI = " \ 8SRC_URI = " \
10 git://github.com/raspberrypi/firmware.git;protocol=git;branch=master \ 9 git://github.com/raspberrypi/firmware.git;protocol=git;branch=master \
11" 10"
12 11
13S = "${WORKDIR}/git/boot" 12S = "${WORKDIR}/git/boot"
@@ -23,7 +22,7 @@ do_deploy() {
23 done 22 done
24 for i in *.bin ; do 23 for i in *.bin ; do
25 cp $i ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles 24 cp $i ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
26 done 25 done
27} 26}
28 27
29PACKAGE_ARCH = "${MACHINE_ARCH}" 28PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-bcm/common/firmware.inc b/recipes-bcm/common/firmware.inc
new file mode 100644
index 0000000..89192a2
--- /dev/null
+++ b/recipes-bcm/common/firmware.inc
@@ -0,0 +1,8 @@
1
2# 21/06/2012 firmware; this can be overridden from distro config
3RPIFW_SRCREV ?= "fc0232ac463f0618914bab9314e8e2ae27466d8c"
4RPIFW_DATE ?= "20120621"
5
6
7SRCREV = "${RPIFW_SRCREV}"
8PV = "${RPIFW_DATE}" \ No newline at end of file
diff --git a/recipes-bcm/vc-graphics/vc-graphics.inc b/recipes-bcm/vc-graphics/vc-graphics.inc
index dcb0984..19ce4ba 100644
--- a/recipes-bcm/vc-graphics/vc-graphics.inc
+++ b/recipes-bcm/vc-graphics/vc-graphics.inc
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=86e53f5f5909ee66900418028de11780"
5 5
6PROVIDES += "virtual/egl" 6PROVIDES += "virtual/egl"
7 7
8SRCREV = "1178c4db57e8676f331fdacfb37ff1662430ea5f" 8include ../common/firmware.inc
9 9
10SRC_URI = "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master\ 10SRC_URI = "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master\
11 file://egl.pc" 11 file://egl.pc"