diff --git a/recipes-bcm/bootfiles/bcm2835-bootfiles.bb b/recipes-bcm/bootfiles/bcm2835-bootfiles.bb index 28d1639..36cbcf5 100644 --- a/recipes-bcm/bootfiles/bcm2835-bootfiles.bb +++ b/recipes-bcm/bootfiles/bcm2835-bootfiles.bb @@ -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" diff --git a/recipes-bcm/common/firmware.inc b/recipes-bcm/common/firmware.inc index 166bb7b..e291832 100644 --- a/recipes-bcm/common/firmware.inc +++ b/recipes-bcm/common/firmware.inc @@ -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}" diff --git a/recipes-bcm/vc-graphics/vc-graphics.inc b/recipes-bcm/vc-graphics/vc-graphics.inc index 28c95a1..e9575da 100644 --- a/recipes-bcm/vc-graphics/vc-graphics.inc +++ b/recipes-bcm/vc-graphics/vc-graphics.inc @@ -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"