All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes
@ 2015-02-08 11:58 Andrei Gherzan
  2015-02-08 11:58 ` [meta-raspberrypi][PATCH 2/5] omxplayer: Bump SRCREV Andrei Gherzan
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Andrei Gherzan @ 2015-02-08 11:58 UTC (permalink / raw)
  To: yocto

We use this to simplify the update process. Updating a kernel version will not
require renaming the recipe but only tweaking LINUX_VERSION.

Update kernel version:
        - bump SRCREV
        - bump LINUX_VERSION if needed

[Support #26]

Change-Id: I7565ddd1f03cc34c34aa5da92664a0057b415c9a
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-kernel/linux/linux-raspberrypi.inc        | 2 +-
 recipes-kernel/linux/linux-raspberrypi_3.10.38.bb | 6 ------
 recipes-kernel/linux/linux-raspberrypi_3.10.bb    | 8 ++++++++
 recipes-kernel/linux/linux-raspberrypi_3.12.36.bb | 6 ------
 recipes-kernel/linux/linux-raspberrypi_3.12.bb    | 8 ++++++++
 recipes-kernel/linux/linux-raspberrypi_3.16.5.bb  | 6 ------
 recipes-kernel/linux/linux-raspberrypi_3.16.bb    | 8 ++++++++
 recipes-kernel/linux/linux-raspberrypi_3.18.5.bb  | 5 -----
 recipes-kernel/linux/linux-raspberrypi_3.18.bb    | 8 ++++++++
 recipes-kernel/linux/linux-raspberrypi_3.6.11.bb  | 6 ------
 recipes-kernel/linux/linux-raspberrypi_3.6.bb     | 8 ++++++++
 recipes-kernel/linux/linux-raspberrypi_3.8.13.bb  | 6 ------
 recipes-kernel/linux/linux-raspberrypi_3.8.bb     | 8 ++++++++
 13 files changed, 49 insertions(+), 36 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.10.bb
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.12.bb
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.16.bb
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.18.bb
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.6.bb
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.bb

diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index ff0c5ce..c00128d 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -11,7 +11,7 @@ SRC_URI += " \
 
 COMPATIBLE_MACHINE = "raspberrypi"
 
-PV_append = "+git${SRCREV}"
+PV = "${LINUX_VERSION}+git${SRCREV}"
 
 # NOTE: For now we pull in the default config from the RPi kernel GIT tree.
 KERNEL_DEFCONFIG = "bcmrpi_defconfig"
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb b/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
deleted file mode 100644
index a0c5012..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-SRCREV = "1b49b450222df26e4abf7abb6d9302f72b2ed386"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.10.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-
-require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.10.bb b/recipes-kernel/linux/linux-raspberrypi_3.10.bb
new file mode 100644
index 0000000..e5d5bf2
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.10.bb
@@ -0,0 +1,8 @@
+LINUX_VERSION ?= "3.10.38"
+
+SRCREV = "1b49b450222df26e4abf7abb6d9302f72b2ed386"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.10.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb b/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
deleted file mode 100644
index e9e9ad7..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-SRCREV = "90fa5df724d147564149c7b79cb1ffc571a345ec"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.12.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-
-require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.12.bb b/recipes-kernel/linux/linux-raspberrypi_3.12.bb
new file mode 100644
index 0000000..08be83e
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.12.bb
@@ -0,0 +1,8 @@
+LINUX_VERSION ?= "3.12.26"
+
+SRCREV = "90fa5df724d147564149c7b79cb1ffc571a345ec"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.12.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.16.5.bb b/recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
deleted file mode 100644
index 97947c2..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-SRCREV = "377c82aa1d31b37f1096096b0e4c65beb0bc5c49"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.16.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-
-require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.16.bb b/recipes-kernel/linux/linux-raspberrypi_3.16.bb
new file mode 100644
index 0000000..ccc414f
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.16.bb
@@ -0,0 +1,8 @@
+LINUX_VERSION ?= "3.16.5"
+
+SRCREV = "377c82aa1d31b37f1096096b0e4c65beb0bc5c49"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.16.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.18.5.bb b/recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
deleted file mode 100644
index 663522e..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-SRCREV = "a6cf3c99bc89e2c010c2f78fbf9e3ed478ccfd46"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.18.bb b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
new file mode 100644
index 0000000..921e702
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
@@ -0,0 +1,8 @@
+LINUX_VERSION ?= "3.18.5"
+
+SRCREV = "a6cf3c99bc89e2c010c2f78fbf9e3ed478ccfd46"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb b/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
deleted file mode 100644
index a154bcf..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-SRCREV = "2a8d45ec0883e3cbdce920855b3461ac77308a5f"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-
-require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.6.bb b/recipes-kernel/linux/linux-raspberrypi_3.6.bb
new file mode 100644
index 0000000..fc9ac89
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.6.bb
@@ -0,0 +1,8 @@
+LINUX_VERSION ?= "3.6.11"
+
+SRCREV = "2a8d45ec0883e3cbdce920855b3461ac77308a5f"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb b/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
deleted file mode 100644
index dc8cf0a..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-SRCREV = "d996a1b91b2bf3dc06f4f4f822a56f4496457aa1"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.8.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-
-require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.8.bb b/recipes-kernel/linux/linux-raspberrypi_3.8.bb
new file mode 100644
index 0000000..ae0dc99
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.8.bb
@@ -0,0 +1,8 @@
+LINUX_VERSION ?= "3.8.13"
+
+SRCREV = "d996a1b91b2bf3dc06f4f4f822a56f4496457aa1"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.8.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
-- 
2.1.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [meta-raspberrypi][PATCH 2/5] omxplayer: Bump SRCREV
  2015-02-08 11:58 [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes Andrei Gherzan
@ 2015-02-08 11:58 ` Andrei Gherzan
  2015-02-08 11:58 ` [meta-raspberrypi][PATCH 3/5] rpi-gpio: Update to v0.5.9 Andrei Gherzan
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Andrei Gherzan @ 2015-02-08 11:58 UTC (permalink / raw)
  To: yocto

Add a patch to fix the pkg-config mechanism in ffmpeg.

Change-Id: Ib506bb4e26a8a0c5c294ed55da0a0da8dc67a2d7
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 .../omxplayer/omxplayer/use-native-pkg-config.patch   | 19 +++++++++++++++++++
 recipes-multimedia/omxplayer/omxplayer_git.bb         |  7 ++++---
 2 files changed, 23 insertions(+), 3 deletions(-)
 create mode 100644 recipes-multimedia/omxplayer/omxplayer/use-native-pkg-config.patch

diff --git a/recipes-multimedia/omxplayer/omxplayer/use-native-pkg-config.patch b/recipes-multimedia/omxplayer/omxplayer/use-native-pkg-config.patch
new file mode 100644
index 0000000..ed81999
--- /dev/null
+++ b/recipes-multimedia/omxplayer/omxplayer/use-native-pkg-config.patch
@@ -0,0 +1,19 @@
+Force the pkg-config native tool. Strangely ffmpeg prepends cross_prefix
+to the default value which obviously is wrong.
+
+Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
+
+Index: git/Makefile.ffmpeg
+===================================================================
+--- git.orig/Makefile.ffmpeg
++++ git/Makefile.ffmpeg
+@@ -245,7 +245,8 @@ configure:
+ 			--disable-decoder=idf \
+ 			--enable-decoder=opus \
+ 			--cross-prefix=$(HOST)- \
+-			--disable-stripping
++			--disable-stripping \
++			--pkg-config=pkg-config
+ 
+ .PHONY : clean
+ clean:
diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb
index 41ef339..c71a743 100644
--- a/recipes-multimedia/omxplayer/omxplayer_git.bb
+++ b/recipes-multimedia/omxplayer/omxplayer_git.bb
@@ -7,22 +7,23 @@ SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl"
+DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl samba libssh"
 PR = "r3"
 
-SRCREV = "1817503430b8f195bef12bd7a3542bdd251f8389"
+SRCREV = "18f051d64d9c837edbf718bc4935204583cfa030"
 SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \
            file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \
            file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \
            file://0003-Remove-strip-step-in-Makefile.patch \
            file://0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch \
            file://fix-tar-command-with-DIST.patch \
+           file://use-native-pkg-config.patch \
            "
 S = "${WORKDIR}/git"
 
 COMPATIBLE_MACHINE = "raspberrypi"
 
-inherit autotools-brokensep
+inherit autotools-brokensep pkgconfig
 
 # Needed in ffmpeg configure
 export TEMPDIR = "${S}/tmp"
-- 
2.1.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [meta-raspberrypi][PATCH 3/5] rpi-gpio: Update to v0.5.9
  2015-02-08 11:58 [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes Andrei Gherzan
  2015-02-08 11:58 ` [meta-raspberrypi][PATCH 2/5] omxplayer: Bump SRCREV Andrei Gherzan
@ 2015-02-08 11:58 ` Andrei Gherzan
  2015-02-08 11:58 ` [meta-raspberrypi][PATCH 4/5] bcm2835: Update to v1.38 Andrei Gherzan
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Andrei Gherzan @ 2015-02-08 11:58 UTC (permalink / raw)
  To: yocto

Change-Id: Ifc455b9106f07583ccaf3fe82723baaeb5e04d2e
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-devtools/python/rpi-gpio_0.5.6.bb | 19 -------------------
 recipes-devtools/python/rpi-gpio_0.5.9.bb | 19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 19 deletions(-)
 delete mode 100644 recipes-devtools/python/rpi-gpio_0.5.6.bb
 create mode 100644 recipes-devtools/python/rpi-gpio_0.5.9.bb

diff --git a/recipes-devtools/python/rpi-gpio_0.5.6.bb b/recipes-devtools/python/rpi-gpio_0.5.6.bb
deleted file mode 100644
index eff22d0..0000000
--- a/recipes-devtools/python/rpi-gpio_0.5.6.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-DESCRIPTION = "A module to control Raspberry Pi GPIO channels"
-HOMEPAGE = "http://code.google.com/p/raspberry-gpio-python/"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=35af90ff2a10e8bdc967653b9dfcb22a"
-
-SRCNAME = "RPi.GPIO"
-
-SRC_URI = "\
-          http://pypi.python.org/packages/source/R/RPi.GPIO/${SRCNAME}-${PV}.tar.gz \
-          "
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit distutils
-
-COMPATIBLE_MACHINE = "raspberrypi"
-
-SRC_URI[md5sum] = "cbdff15871230ceef29bb407d31da485"
-SRC_URI[sha256sum] = "36b64a9485d6a0dc8f24cfca6af45759ee367ce412b952ebcf0409364e05813a"
diff --git a/recipes-devtools/python/rpi-gpio_0.5.9.bb b/recipes-devtools/python/rpi-gpio_0.5.9.bb
new file mode 100644
index 0000000..9394fd8
--- /dev/null
+++ b/recipes-devtools/python/rpi-gpio_0.5.9.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "A module to control Raspberry Pi GPIO channels"
+HOMEPAGE = "http://code.google.com/p/raspberry-gpio-python/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=9b95630a648966b142f1a0dcea001cb7"
+
+SRCNAME = "RPi.GPIO"
+
+SRC_URI = "\
+          http://pypi.python.org/packages/source/R/RPi.GPIO/${SRCNAME}-${PV}.tar.gz \
+          "
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+COMPATIBLE_MACHINE = "raspberrypi"
+
+SRC_URI[md5sum] = "54ea6ef33502d43e3a89713593315e5a"
+SRC_URI[sha256sum] = "167fab1861093677af69db135ce815729dd4fbfb8f8e2eb830eab6324bc89152"
-- 
2.1.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [meta-raspberrypi][PATCH 4/5] bcm2835: Update to v1.38
  2015-02-08 11:58 [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes Andrei Gherzan
  2015-02-08 11:58 ` [meta-raspberrypi][PATCH 2/5] omxplayer: Bump SRCREV Andrei Gherzan
  2015-02-08 11:58 ` [meta-raspberrypi][PATCH 3/5] rpi-gpio: Update to v0.5.9 Andrei Gherzan
@ 2015-02-08 11:58 ` Andrei Gherzan
  2015-02-08 11:58 ` [meta-raspberrypi][PATCH 5/5] userland: Bump SRCREV Andrei Gherzan
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Andrei Gherzan @ 2015-02-08 11:58 UTC (permalink / raw)
  To: yocto

Change-Id: Iebac94415602454dd4e2808c8e02d0083f804029
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-bcm/bcm2835/bcm2835_1.36.bb | 40 -------------------------------------
 recipes-bcm/bcm2835/bcm2835_1.38.bb | 40 +++++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 40 deletions(-)
 delete mode 100644 recipes-bcm/bcm2835/bcm2835_1.36.bb
 create mode 100644 recipes-bcm/bcm2835/bcm2835_1.38.bb

diff --git a/recipes-bcm/bcm2835/bcm2835_1.36.bb b/recipes-bcm/bcm2835/bcm2835_1.36.bb
deleted file mode 100644
index 6997565..0000000
--- a/recipes-bcm/bcm2835/bcm2835_1.36.bb
+++ /dev/null
@@ -1,40 +0,0 @@
-DESCRIPTION = "Package that provides access to GPIO and other IO\
-functions on the Broadcom BCM 2835 chip, allowing access to the\
-GPIO pins on the 26 pin IDE plug on the RPi board"
-SECTION = "base"
-HOMEPAGE = "http://www.open.com.au/mikem/bcm2835"
-AUTHOR = "Mike McCauley (mikem@open.com.au)"
-
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-
-COMPATIBLE_MACHINE = "raspberrypi"
-
-SRC_URI = "http://www.open.com.au/mikem/bcm2835/bcm2835-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "3299ddaef60f80b7f85de3318f08dee7"
-SRC_URI[sha256sum] = "b4dfcdb453d44ba9ff55634ce7e0ddca21b96355ab61e40b4c3afb9406d4b8d2"
-
-inherit autotools
-
-do_compile_append() {
-    # Now compiling the examples provided by the package
-    mkdir -p ${B}/examples
-    for file in `ls ${S}/examples`; do
-        ${CC} ${S}/examples/${file}/${file}.c -o ${B}/examples/${file} -Bstatic -L${B}/src -lbcm2835 -I${S}/src
-    done
-}
-
-do_install_append() {
-    install -d ${D}/${libdir}/${BPN}
-    for file in ${B}/examples/*
-    do
-        install -m 0755 ${file} ${D}/${libdir}/${BPN}
-    done
-}
-
-PACKAGES += "${PN}-tests"
-
-FILES_${PN} = ""
-FILES_${PN}-tests = "${libdir}/${BPN}"
-FILES_${PN}-dbg += "${libdir}/${BPN}/.debug"
diff --git a/recipes-bcm/bcm2835/bcm2835_1.38.bb b/recipes-bcm/bcm2835/bcm2835_1.38.bb
new file mode 100644
index 0000000..71395af
--- /dev/null
+++ b/recipes-bcm/bcm2835/bcm2835_1.38.bb
@@ -0,0 +1,40 @@
+DESCRIPTION = "Package that provides access to GPIO and other IO\
+functions on the Broadcom BCM 2835 chip, allowing access to the\
+GPIO pins on the 26 pin IDE plug on the RPi board"
+SECTION = "base"
+HOMEPAGE = "http://www.open.com.au/mikem/bcm2835"
+AUTHOR = "Mike McCauley (mikem@open.com.au)"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+COMPATIBLE_MACHINE = "raspberrypi"
+
+SRC_URI = "http://www.open.com.au/mikem/bcm2835/bcm2835-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "22d431f7402b9c7f93baef348a459cb1"
+SRC_URI[sha256sum] = "90c993559ea273ae2e0587f6b815f7c80f19f47ee7f8aa7799b883f975196dbe"
+
+inherit autotools
+
+do_compile_append() {
+    # Now compiling the examples provided by the package
+    mkdir -p ${B}/examples
+    for file in `ls ${S}/examples`; do
+        ${CC} ${S}/examples/${file}/${file}.c -o ${B}/examples/${file} -Bstatic -L${B}/src -lbcm2835 -I${S}/src
+    done
+}
+
+do_install_append() {
+    install -d ${D}/${libdir}/${BPN}
+    for file in ${B}/examples/*
+    do
+        install -m 0755 ${file} ${D}/${libdir}/${BPN}
+    done
+}
+
+PACKAGES += "${PN}-tests"
+
+FILES_${PN} = ""
+FILES_${PN}-tests = "${libdir}/${BPN}"
+FILES_${PN}-dbg += "${libdir}/${BPN}/.debug"
-- 
2.1.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [meta-raspberrypi][PATCH 5/5] userland: Bump SRCREV
  2015-02-08 11:58 [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes Andrei Gherzan
                   ` (2 preceding siblings ...)
  2015-02-08 11:58 ` [meta-raspberrypi][PATCH 4/5] bcm2835: Update to v1.38 Andrei Gherzan
@ 2015-02-08 11:58 ` Andrei Gherzan
  2015-02-09 21:58 ` [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes Petter Mabäcker
  2015-02-09 22:06 ` Petter Mabäcker
  5 siblings, 0 replies; 9+ messages in thread
From: Andrei Gherzan @ 2015-02-08 11:58 UTC (permalink / raw)
  To: yocto

Change-Id: If1d2608322749db4baa445ba94bc471a0ac86a5c
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-graphics/userland/userland_git.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb
index 77c98d7..1e60ea8 100644
--- a/recipes-graphics/userland/userland_git.bb
+++ b/recipes-graphics/userland/userland_git.bb
@@ -13,7 +13,7 @@ COMPATIBLE_MACHINE = "raspberrypi"
 
 SRCBRANCH = "master"
 SRCFORK = "raspberrypi"
-SRCREV = "85441185e653347e6b3c2bbc7494f5e29a6ca4a2"
+SRCREV = "3b81b91c18ff19f97033e146a9f3262ca631f0e9"
 
 SRC_URI = "git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
           "
@@ -32,10 +32,13 @@ do_install_append() {
     rm -rf ${D}/opt
 }
 
-FILES_${PN} += "${libdir}/*${SOLIBS}"
+FILES_${PN} += " \
+    ${libdir}/*${SOLIBS} \
+    ${libdir}/plugins"
 FILES_${PN}-dev = "${includedir} \
                    ${prefix}/src"
 FILES_${PN}-doc += "${datadir}/install"
+FILES_${PN}-dbg += "${libdir}/plugins/.debug"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-- 
2.1.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes
  2015-02-08 11:58 [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes Andrei Gherzan
                   ` (3 preceding siblings ...)
  2015-02-08 11:58 ` [meta-raspberrypi][PATCH 5/5] userland: Bump SRCREV Andrei Gherzan
@ 2015-02-09 21:58 ` Petter Mabäcker
  2015-02-09 22:06 ` Petter Mabäcker
  5 siblings, 0 replies; 9+ messages in thread
From: Petter Mabäcker @ 2015-02-09 21:58 UTC (permalink / raw)
  To: Andrei; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 9175 bytes --]

 

Petter Mabäcker

Technux
<petter@technux.se>
www.technux.se

2015-02-08 12:58 skrev Andrei
Gherzan: 

> We use this to simplify the update process. Updating a
kernel version will not
> require renaming the recipe but only tweaking
LINUX_VERSION.
> 
> Update kernel version:
> - bump SRCREV
> - bump
LINUX_VERSION if needed
> 
> [Support #26]
> 
> Change-Id:
I7565ddd1f03cc34c34aa5da92664a0057b415c9a
> Signed-off-by: Andrei
Gherzan <andrei@gherzan.ro>
> ---
>
recipes-kernel/linux/linux-raspberrypi.inc | 2 +-
>
recipes-kernel/linux/linux-raspberrypi_3.10.38.bb | 6 ------
>
recipes-kernel/linux/linux-raspberrypi_3.10.bb | 8 ++++++++
>
recipes-kernel/linux/linux-raspberrypi_3.12.36.bb | 6 ------
>
recipes-kernel/linux/linux-raspberrypi_3.12.bb | 8 ++++++++
>
recipes-kernel/linux/linux-raspberrypi_3.16.5.bb | 6 ------
>
recipes-kernel/linux/linux-raspberrypi_3.16.bb | 8 ++++++++
>
recipes-kernel/linux/linux-raspberrypi_3.18.5.bb | 5 -----
>
recipes-kernel/linux/linux-raspberrypi_3.18.bb | 8 ++++++++
>
recipes-kernel/linux/linux-raspberrypi_3.6.11.bb | 6 ------
>
recipes-kernel/linux/linux-raspberrypi_3.6.bb | 8 ++++++++
>
recipes-kernel/linux/linux-raspberrypi_3.8.13.bb | 6 ------
>
recipes-kernel/linux/linux-raspberrypi_3.8.bb | 8 ++++++++
> 13 files
changed, 49 insertions(+), 36 deletions(-)
> delete mode 100644
recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
> create mode 100644
recipes-kernel/linux/linux-raspberrypi_3.10.bb
> delete mode 100644
recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
> create mode 100644
recipes-kernel/linux/linux-raspberrypi_3.12.bb
> delete mode 100644
recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
> create mode 100644
recipes-kernel/linux/linux-raspberrypi_3.16.bb
> delete mode 100644
recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
> create mode 100644
recipes-kernel/linux/linux-raspberrypi_3.18.bb
> delete mode 100644
recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
> create mode 100644
recipes-kernel/linux/linux-raspberrypi_3.6.bb
> delete mode 100644
recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
> create mode 100644
recipes-kernel/linux/linux-raspberrypi_3.8.bb
> 
> diff --git
a/recipes-kernel/linux/linux-raspberrypi.inc
b/recipes-kernel/linux/linux-raspberrypi.inc
> index ff0c5ce..c00128d
100644
> --- a/recipes-kernel/linux/linux-raspberrypi.inc
> +++
b/recipes-kernel/linux/linux-raspberrypi.inc
> @@ -11,7 +11,7 @@ SRC_URI
+= " 
> 
> COMPATIBLE_MACHINE = "raspberrypi"
> 
> -PV_append =
"+git${SRCREV}"
> +PV = "${LINUX_VERSION}+git${SRCREV}"
> 
> # NOTE: For
now we pull in the default config from the RPi kernel GIT tree.
>
KERNEL_DEFCONFIG = "bcmrpi_defconfig"
> diff --git
a/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
b/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
> deleted file mode
100644
> index a0c5012..0000000
> ---
a/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
> +++ /dev/null
> @@
-1,6 +0,0 @@
> -SRCREV = "1b49b450222df26e4abf7abb6d9302f72b2ed386"
>
-SRC_URI =
"git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.10.y

> - file://sl030raspberrypii2ckernel.patch [1] 
> - "
> -
> -require
linux-raspberrypi.inc
> diff --git
a/recipes-kernel/linux/linux-raspberrypi_3.10.bb
b/recipes-kernel/linux/linux-raspberrypi_3.10.bb
> new file mode
100644
> index 0000000..e5d5bf2
> --- /dev/null
> +++
b/recipes-kernel/linux/linux-raspberrypi_3.10.bb
> @@ -0,0 +1,8 @@
>
+LINUX_VERSION ?= "3.10.38"
> +
> +SRCREV =
"1b49b450222df26e4abf7abb6d9302f72b2ed386"
> +SRC_URI =
"git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.10.y

> + file://sl030raspberrypii2ckernel.patch [1] 
> + "
> +
> +require
linux-raspberrypi.inc
> diff --git
a/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
b/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
> deleted file mode
100644
> index e9e9ad7..0000000
> ---
a/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
> +++ /dev/null
> @@
-1,6 +0,0 @@
> -SRCREV = "90fa5df724d147564149c7b79cb1ffc571a345ec"
>
-SRC_URI =
"git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.12.y

> - file://sl030raspberrypii2ckernel.patch [1] 
> - "
> -
> -require
linux-raspberrypi.inc
> diff --git
a/recipes-kernel/linux/linux-raspberrypi_3.12.bb
b/recipes-kernel/linux/linux-raspberrypi_3.12.bb
> new file mode
100644
> index 0000000..08be83e
> --- /dev/null
> +++
b/recipes-kernel/linux/linux-raspberrypi_3.12.bb
> @@ -0,0 +1,8 @@
>
+LINUX_VERSION ?= "3.12.26"
> 
> A small typo here. It should be
"3.12.36".
> 
> BR,
> 
> Petter
> 
> +
> +SRCREV =
"90fa5df724d147564149c7b79cb1ffc571a345ec"
> +SRC_URI =
"git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.12.y

> + file://sl030raspberrypii2ckernel.patch [1] 
> + "
> +
> +require
linux-raspberrypi.inc
> diff --git
a/recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
b/recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
> deleted file mode
100644
> index 97947c2..0000000
> ---
a/recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
> +++ /dev/null
> @@
-1,6 +0,0 @@
> -SRCREV = "377c82aa1d31b37f1096096b0e4c65beb0bc5c49"
>
-SRC_URI =
"git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.16.y

> - file://sl030raspberrypii2ckernel.patch [1] 
> - "
> -
> -require
linux-raspberrypi.inc
> diff --git
a/recipes-kernel/linux/linux-raspberrypi_3.16.bb
b/recipes-kernel/linux/linux-raspberrypi_3.16.bb
> new file mode
100644
> index 0000000..ccc414f
> --- /dev/null
> +++
b/recipes-kernel/linux/linux-raspberrypi_3.16.bb
> @@ -0,0 +1,8 @@
>
+LINUX_VERSION ?= "3.16.5"
> +
> +SRCREV =
"377c82aa1d31b37f1096096b0e4c65beb0bc5c49"
> +SRC_URI =
"git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.16.y

> + file://sl030raspberrypii2ckernel.patch [1] 
> + "
> +
> +require
linux-raspberrypi.inc
> diff --git
a/recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
b/recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
> deleted file mode
100644
> index 663522e..0000000
> ---
a/recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
> +++ /dev/null
> @@
-1,5 +0,0 @@
> -SRCREV = "a6cf3c99bc89e2c010c2f78fbf9e3ed478ccfd46"
>
-SRC_URI =
"git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y

> - file://sl030raspberrypii2ckernel.patch [1] 
> - "
> -require
linux-raspberrypi.inc
> diff --git
a/recipes-kernel/linux/linux-raspberrypi_3.18.bb
b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
> new file mode
100644
> index 0000000..921e702
> --- /dev/null
> +++
b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
> @@ -0,0 +1,8 @@
>
+LINUX_VERSION ?= "3.18.5"
> +
> +SRCREV =
"a6cf3c99bc89e2c010c2f78fbf9e3ed478ccfd46"
> +SRC_URI =
"git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y

> + file://sl030raspberrypii2ckernel.patch [1] 
> + "
> +
> +require
linux-raspberrypi.inc
> diff --git
a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
b/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
> deleted file mode
100644
> index a154bcf..0000000
> ---
a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
> +++ /dev/null
> @@
-1,6 +0,0 @@
> -SRCREV = "2a8d45ec0883e3cbdce920855b3461ac77308a5f"
>
-SRC_URI =
"git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y 
>
- file://sl030raspberrypii2ckernel.patch [1] 
> - "
> -
> -require
linux-raspberrypi.inc
> diff --git
a/recipes-kernel/linux/linux-raspberrypi_3.6.bb
b/recipes-kernel/linux/linux-raspberrypi_3.6.bb
> new file mode 100644
>
index 0000000..fc9ac89
> --- /dev/null
> +++
b/recipes-kernel/linux/linux-raspberrypi_3.6.bb
> @@ -0,0 +1,8 @@
>
+LINUX_VERSION ?= "3.6.11"
> +
> +SRCREV =
"2a8d45ec0883e3cbdce920855b3461ac77308a5f"
> +SRC_URI =
"git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y 
>
+ file://sl030raspberrypii2ckernel.patch [1] 
> + "
> +
> +require
linux-raspberrypi.inc
> diff --git
a/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
b/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
> deleted file mode
100644
> index dc8cf0a..0000000
> ---
a/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
> +++ /dev/null
> @@
-1,6 +0,0 @@
> -SRCREV = "d996a1b91b2bf3dc06f4f4f822a56f4496457aa1"
>
-SRC_URI =
"git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.8.y 
>
- file://sl030raspberrypii2ckernel.patch [1] 
> - "
> -
> -require
linux-raspberrypi.inc
> diff --git
a/recipes-kernel/linux/linux-raspberrypi_3.8.bb
b/recipes-kernel/linux/linux-raspberrypi_3.8.bb
> new file mode 100644
>
index 0000000..ae0dc99
> --- /dev/null
> +++
b/recipes-kernel/linux/linux-raspberrypi_3.8.bb
> @@ -0,0 +1,8 @@
>
+LINUX_VERSION ?= "3.8.13"
> +
> +SRCREV =
"d996a1b91b2bf3dc06f4f4f822a56f4496457aa1"
> +SRC_URI =
"git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.8.y 
>
+ file://sl030raspberrypii2ckernel.patch [1] 
> + "
> +
> +require
linux-raspberrypi.inc
> -- 
> 2.1.0
 

Links:
------
[1]
file://sl030raspberrypii2ckernel.patch

[-- Attachment #2: Type: text/html, Size: 9954 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes
  2015-02-08 11:58 [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes Andrei Gherzan
                   ` (4 preceding siblings ...)
  2015-02-09 21:58 ` [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes Petter Mabäcker
@ 2015-02-09 22:06 ` Petter Mabäcker
  2015-02-09 23:47   ` Andrei Gherzan
  5 siblings, 1 reply; 9+ messages in thread
From: Petter Mabäcker @ 2015-02-09 22:06 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: yocto

Hmm the formatting in my previous mail looks weird, I try to send this 
again.. See my comment inline.

Cheers
Petter

On 02/08/2015 12:58 PM, Andrei Gherzan wrote:
> We use this to simplify the update process. Updating a kernel version will not
> require renaming the recipe but only tweaking LINUX_VERSION.
>
> Update kernel version:
>          - bump SRCREV
>          - bump LINUX_VERSION if needed
>
> [Support #26]
>
> Change-Id: I7565ddd1f03cc34c34aa5da92664a0057b415c9a
> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> ---
>   recipes-kernel/linux/linux-raspberrypi.inc        | 2 +-
>   recipes-kernel/linux/linux-raspberrypi_3.10.38.bb | 6 ------
>   recipes-kernel/linux/linux-raspberrypi_3.10.bb    | 8 ++++++++
>   recipes-kernel/linux/linux-raspberrypi_3.12.36.bb | 6 ------
>   recipes-kernel/linux/linux-raspberrypi_3.12.bb    | 8 ++++++++
>   recipes-kernel/linux/linux-raspberrypi_3.16.5.bb  | 6 ------
>   recipes-kernel/linux/linux-raspberrypi_3.16.bb    | 8 ++++++++
>   recipes-kernel/linux/linux-raspberrypi_3.18.5.bb  | 5 -----
>   recipes-kernel/linux/linux-raspberrypi_3.18.bb    | 8 ++++++++
>   recipes-kernel/linux/linux-raspberrypi_3.6.11.bb  | 6 ------
>   recipes-kernel/linux/linux-raspberrypi_3.6.bb     | 8 ++++++++
>   recipes-kernel/linux/linux-raspberrypi_3.8.13.bb  | 6 ------
>   recipes-kernel/linux/linux-raspberrypi_3.8.bb     | 8 ++++++++
>   13 files changed, 49 insertions(+), 36 deletions(-)
>   delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
>   create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.10.bb
>   delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
>   create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.12.bb
>   delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
>   create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.16.bb
>   delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
>   create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.18.bb
>   delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
>   create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.6.bb
>   delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
>   create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.bb
>
> diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
> index ff0c5ce..c00128d 100644
> --- a/recipes-kernel/linux/linux-raspberrypi.inc
> +++ b/recipes-kernel/linux/linux-raspberrypi.inc
> @@ -11,7 +11,7 @@ SRC_URI += " \
>   
>   COMPATIBLE_MACHINE = "raspberrypi"
>   
> -PV_append = "+git${SRCREV}"
> +PV = "${LINUX_VERSION}+git${SRCREV}"
>   
>   # NOTE: For now we pull in the default config from the RPi kernel GIT tree.
>   KERNEL_DEFCONFIG = "bcmrpi_defconfig"
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb b/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
> deleted file mode 100644
> index a0c5012..0000000
> --- a/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -SRCREV = "1b49b450222df26e4abf7abb6d9302f72b2ed386"
> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.10.y \
> -           file://sl030raspberrypii2ckernel.patch \
> -          "
> -
> -require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.10.bb b/recipes-kernel/linux/linux-raspberrypi_3.10.bb
> new file mode 100644
> index 0000000..e5d5bf2
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-raspberrypi_3.10.bb
> @@ -0,0 +1,8 @@
> +LINUX_VERSION ?= "3.10.38"
> +
> +SRCREV = "1b49b450222df26e4abf7abb6d9302f72b2ed386"
> +SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.10.y \
> +           file://sl030raspberrypii2ckernel.patch \
> +          "
> +
> +require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb b/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
> deleted file mode 100644
> index e9e9ad7..0000000
> --- a/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -SRCREV = "90fa5df724d147564149c7b79cb1ffc571a345ec"
> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.12.y \
> -           file://sl030raspberrypii2ckernel.patch \
> -          "
> -
> -require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.12.bb b/recipes-kernel/linux/linux-raspberrypi_3.12.bb
> new file mode 100644
> index 0000000..08be83e
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-raspberrypi_3.12.bb
> @@ -0,0 +1,8 @@
> +LINUX_VERSION ?= "3.12.26"
> +

Small typo here. It should be "3.12.36".

BR,
Petter

> +SRCREV = "90fa5df724d147564149c7b79cb1ffc571a345ec"
> +SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.12.y \
> +           file://sl030raspberrypii2ckernel.patch \
> +          "
> +
> +require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.16.5.bb b/recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
> deleted file mode 100644
> index 97947c2..0000000
> --- a/recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -SRCREV = "377c82aa1d31b37f1096096b0e4c65beb0bc5c49"
> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.16.y \
> -           file://sl030raspberrypii2ckernel.patch \
> -          "
> -
> -require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.16.bb b/recipes-kernel/linux/linux-raspberrypi_3.16.bb
> new file mode 100644
> index 0000000..ccc414f
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-raspberrypi_3.16.bb
> @@ -0,0 +1,8 @@
> +LINUX_VERSION ?= "3.16.5"
> +
> +SRCREV = "377c82aa1d31b37f1096096b0e4c65beb0bc5c49"
> +SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.16.y \
> +           file://sl030raspberrypii2ckernel.patch \
> +          "
> +
> +require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.18.5.bb b/recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
> deleted file mode 100644
> index 663522e..0000000
> --- a/recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -SRCREV = "a6cf3c99bc89e2c010c2f78fbf9e3ed478ccfd46"
> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y \
> -           file://sl030raspberrypii2ckernel.patch \
> -          "
> -require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.18.bb b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
> new file mode 100644
> index 0000000..921e702
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
> @@ -0,0 +1,8 @@
> +LINUX_VERSION ?= "3.18.5"
> +
> +SRCREV = "a6cf3c99bc89e2c010c2f78fbf9e3ed478ccfd46"
> +SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y \
> +           file://sl030raspberrypii2ckernel.patch \
> +          "
> +
> +require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb b/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
> deleted file mode 100644
> index a154bcf..0000000
> --- a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -SRCREV = "2a8d45ec0883e3cbdce920855b3461ac77308a5f"
> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
> -           file://sl030raspberrypii2ckernel.patch \
> -          "
> -
> -require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.6.bb b/recipes-kernel/linux/linux-raspberrypi_3.6.bb
> new file mode 100644
> index 0000000..fc9ac89
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-raspberrypi_3.6.bb
> @@ -0,0 +1,8 @@
> +LINUX_VERSION ?= "3.6.11"
> +
> +SRCREV = "2a8d45ec0883e3cbdce920855b3461ac77308a5f"
> +SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
> +           file://sl030raspberrypii2ckernel.patch \
> +          "
> +
> +require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb b/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
> deleted file mode 100644
> index dc8cf0a..0000000
> --- a/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -SRCREV = "d996a1b91b2bf3dc06f4f4f822a56f4496457aa1"
> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.8.y \
> -           file://sl030raspberrypii2ckernel.patch \
> -          "
> -
> -require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.8.bb b/recipes-kernel/linux/linux-raspberrypi_3.8.bb
> new file mode 100644
> index 0000000..ae0dc99
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-raspberrypi_3.8.bb
> @@ -0,0 +1,8 @@
> +LINUX_VERSION ?= "3.8.13"
> +
> +SRCREV = "d996a1b91b2bf3dc06f4f4f822a56f4496457aa1"
> +SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.8.y \
> +           file://sl030raspberrypii2ckernel.patch \
> +          "
> +
> +require linux-raspberrypi.inc



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes
  2015-02-09 22:06 ` Petter Mabäcker
@ 2015-02-09 23:47   ` Andrei Gherzan
  0 siblings, 0 replies; 9+ messages in thread
From: Andrei Gherzan @ 2015-02-09 23:47 UTC (permalink / raw)
  To: Petter Mabäcker; +Cc: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 5080 bytes --]

On Mon, Feb 9, 2015 at 11:06 PM, Petter Mabäcker <petter@technux.se> wrote:

> Hmm the formatting in my previous mail looks weird, I try to send this
> again.. See my comment inline.
>
> Cheers
> Petter
>
>
> On 02/08/2015 12:58 PM, Andrei Gherzan wrote:
>
>> We use this to simplify the update process. Updating a kernel version
>> will not
>> require renaming the recipe but only tweaking LINUX_VERSION.
>>
>> Update kernel version:
>>          - bump SRCREV
>>          - bump LINUX_VERSION if needed
>>
>> [Support #26]
>>
>> Change-Id: I7565ddd1f03cc34c34aa5da92664a0057b415c9a
>> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
>> ---
>>   recipes-kernel/linux/linux-raspberrypi.inc        | 2 +-
>>   recipes-kernel/linux/linux-raspberrypi_3.10.38.bb | 6 ------
>>   recipes-kernel/linux/linux-raspberrypi_3.10.bb    | 8 ++++++++
>>   recipes-kernel/linux/linux-raspberrypi_3.12.36.bb | 6 ------
>>   recipes-kernel/linux/linux-raspberrypi_3.12.bb    | 8 ++++++++
>>   recipes-kernel/linux/linux-raspberrypi_3.16.5.bb  | 6 ------
>>   recipes-kernel/linux/linux-raspberrypi_3.16.bb    | 8 ++++++++
>>   recipes-kernel/linux/linux-raspberrypi_3.18.5.bb  | 5 -----
>>   recipes-kernel/linux/linux-raspberrypi_3.18.bb    | 8 ++++++++
>>   recipes-kernel/linux/linux-raspberrypi_3.6.11.bb  | 6 ------
>>   recipes-kernel/linux/linux-raspberrypi_3.6.bb     | 8 ++++++++
>>   recipes-kernel/linux/linux-raspberrypi_3.8.13.bb  | 6 ------
>>   recipes-kernel/linux/linux-raspberrypi_3.8.bb     | 8 ++++++++
>>   13 files changed, 49 insertions(+), 36 deletions(-)
>>   delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
>>   create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.10.bb
>>   delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
>>   create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.12.bb
>>   delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
>>   create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.16.bb
>>   delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
>>   create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.18.bb
>>   delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
>>   create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.6.bb
>>   delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
>>   create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.bb
>>
>> diff --git a/recipes-kernel/linux/linux-raspberrypi.inc
>> b/recipes-kernel/linux/linux-raspberrypi.inc
>> index ff0c5ce..c00128d 100644
>> --- a/recipes-kernel/linux/linux-raspberrypi.inc
>> +++ b/recipes-kernel/linux/linux-raspberrypi.inc
>> @@ -11,7 +11,7 @@ SRC_URI += " \
>>     COMPATIBLE_MACHINE = "raspberrypi"
>>   -PV_append = "+git${SRCREV}"
>> +PV = "${LINUX_VERSION}+git${SRCREV}"
>>     # NOTE: For now we pull in the default config from the RPi kernel GIT
>> tree.
>>   KERNEL_DEFCONFIG = "bcmrpi_defconfig"
>> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
>> b/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
>> deleted file mode 100644
>> index a0c5012..0000000
>> --- a/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
>> +++ /dev/null
>> @@ -1,6 +0,0 @@
>> -SRCREV = "1b49b450222df26e4abf7abb6d9302f72b2ed386"
>> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=
>> rpi-3.10.y \
>> -           file://sl030raspberrypii2ckernel.patch \
>> -          "
>> -
>> -require linux-raspberrypi.inc
>> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.10.bb
>> b/recipes-kernel/linux/linux-raspberrypi_3.10.bb
>> new file mode 100644
>> index 0000000..e5d5bf2
>> --- /dev/null
>> +++ b/recipes-kernel/linux/linux-raspberrypi_3.10.bb
>> @@ -0,0 +1,8 @@
>> +LINUX_VERSION ?= "3.10.38"
>> +
>> +SRCREV = "1b49b450222df26e4abf7abb6d9302f72b2ed386"
>> +SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=
>> rpi-3.10.y \
>> +           file://sl030raspberrypii2ckernel.patch \
>> +          "
>> +
>> +require linux-raspberrypi.inc
>> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
>> b/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
>> deleted file mode 100644
>> index e9e9ad7..0000000
>> --- a/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
>> +++ /dev/null
>> @@ -1,6 +0,0 @@
>> -SRCREV = "90fa5df724d147564149c7b79cb1ffc571a345ec"
>> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=
>> rpi-3.12.y \
>> -           file://sl030raspberrypii2ckernel.patch \
>> -          "
>> -
>> -require linux-raspberrypi.inc
>> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.12.bb
>> b/recipes-kernel/linux/linux-raspberrypi_3.12.bb
>> new file mode 100644
>> index 0000000..08be83e
>> --- /dev/null
>> +++ b/recipes-kernel/linux/linux-raspberrypi_3.12.bb
>> @@ -0,0 +1,8 @@
>> +LINUX_VERSION ?= "3.12.26"
>> +
>>
>
> Small typo here. It should be "3.12.36".


Good catch. Thanks.



-- 
*Andrei Gherzan*

[-- Attachment #2: Type: text/html, Size: 9308 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes
@ 2015-02-06 16:11 Andrei Gherzan
  0 siblings, 0 replies; 9+ messages in thread
From: Andrei Gherzan @ 2015-02-06 16:11 UTC (permalink / raw)
  To: yocto

We use this to simplify the update process. Updating a kernel version will not
require renaming the recipe but only tweaking LINUX_VERSION.

Update kernel version:
        - bump SRCREV
        - bump LINUX_VERSION if needed

[Support #26]

Change-Id: I7565ddd1f03cc34c34aa5da92664a0057b415c9a
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-kernel/linux/linux-raspberrypi.inc        | 2 +-
 recipes-kernel/linux/linux-raspberrypi_3.10.38.bb | 6 ------
 recipes-kernel/linux/linux-raspberrypi_3.10.bb    | 8 ++++++++
 recipes-kernel/linux/linux-raspberrypi_3.12.36.bb | 6 ------
 recipes-kernel/linux/linux-raspberrypi_3.12.bb    | 8 ++++++++
 recipes-kernel/linux/linux-raspberrypi_3.16.5.bb  | 6 ------
 recipes-kernel/linux/linux-raspberrypi_3.16.bb    | 8 ++++++++
 recipes-kernel/linux/linux-raspberrypi_3.18.5.bb  | 5 -----
 recipes-kernel/linux/linux-raspberrypi_3.18.bb    | 8 ++++++++
 recipes-kernel/linux/linux-raspberrypi_3.6.11.bb  | 6 ------
 recipes-kernel/linux/linux-raspberrypi_3.6.bb     | 8 ++++++++
 recipes-kernel/linux/linux-raspberrypi_3.8.13.bb  | 6 ------
 recipes-kernel/linux/linux-raspberrypi_3.8.bb     | 8 ++++++++
 13 files changed, 49 insertions(+), 36 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.10.bb
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.12.bb
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.16.bb
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.18.bb
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.6.bb
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.8.bb

diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index ff0c5ce..c00128d 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -11,7 +11,7 @@ SRC_URI += " \
 
 COMPATIBLE_MACHINE = "raspberrypi"
 
-PV_append = "+git${SRCREV}"
+PV = "${LINUX_VERSION}+git${SRCREV}"
 
 # NOTE: For now we pull in the default config from the RPi kernel GIT tree.
 KERNEL_DEFCONFIG = "bcmrpi_defconfig"
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb b/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
deleted file mode 100644
index a0c5012..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_3.10.38.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-SRCREV = "1b49b450222df26e4abf7abb6d9302f72b2ed386"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.10.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-
-require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.10.bb b/recipes-kernel/linux/linux-raspberrypi_3.10.bb
new file mode 100644
index 0000000..e5d5bf2
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.10.bb
@@ -0,0 +1,8 @@
+LINUX_VERSION ?= "3.10.38"
+
+SRCREV = "1b49b450222df26e4abf7abb6d9302f72b2ed386"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.10.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb b/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
deleted file mode 100644
index e9e9ad7..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_3.12.36.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-SRCREV = "90fa5df724d147564149c7b79cb1ffc571a345ec"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.12.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-
-require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.12.bb b/recipes-kernel/linux/linux-raspberrypi_3.12.bb
new file mode 100644
index 0000000..08be83e
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.12.bb
@@ -0,0 +1,8 @@
+LINUX_VERSION ?= "3.12.26"
+
+SRCREV = "90fa5df724d147564149c7b79cb1ffc571a345ec"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.12.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.16.5.bb b/recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
deleted file mode 100644
index 97947c2..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_3.16.5.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-SRCREV = "377c82aa1d31b37f1096096b0e4c65beb0bc5c49"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.16.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-
-require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.16.bb b/recipes-kernel/linux/linux-raspberrypi_3.16.bb
new file mode 100644
index 0000000..ccc414f
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.16.bb
@@ -0,0 +1,8 @@
+LINUX_VERSION ?= "3.16.5"
+
+SRCREV = "377c82aa1d31b37f1096096b0e4c65beb0bc5c49"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.16.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.18.5.bb b/recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
deleted file mode 100644
index 663522e..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_3.18.5.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-SRCREV = "a6cf3c99bc89e2c010c2f78fbf9e3ed478ccfd46"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.18.bb b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
new file mode 100644
index 0000000..921e702
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.18.bb
@@ -0,0 +1,8 @@
+LINUX_VERSION ?= "3.18.5"
+
+SRCREV = "a6cf3c99bc89e2c010c2f78fbf9e3ed478ccfd46"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.18.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb b/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
deleted file mode 100644
index a154bcf..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-SRCREV = "2a8d45ec0883e3cbdce920855b3461ac77308a5f"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-
-require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.6.bb b/recipes-kernel/linux/linux-raspberrypi_3.6.bb
new file mode 100644
index 0000000..fc9ac89
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.6.bb
@@ -0,0 +1,8 @@
+LINUX_VERSION ?= "3.6.11"
+
+SRCREV = "2a8d45ec0883e3cbdce920855b3461ac77308a5f"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb b/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
deleted file mode 100644
index dc8cf0a..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-SRCREV = "d996a1b91b2bf3dc06f4f4f822a56f4496457aa1"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.8.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-
-require linux-raspberrypi.inc
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.8.bb b/recipes-kernel/linux/linux-raspberrypi_3.8.bb
new file mode 100644
index 0000000..ae0dc99
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.8.bb
@@ -0,0 +1,8 @@
+LINUX_VERSION ?= "3.8.13"
+
+SRCREV = "d996a1b91b2bf3dc06f4f4f822a56f4496457aa1"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.8.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
-- 
2.1.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-02-09 23:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-08 11:58 [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes Andrei Gherzan
2015-02-08 11:58 ` [meta-raspberrypi][PATCH 2/5] omxplayer: Bump SRCREV Andrei Gherzan
2015-02-08 11:58 ` [meta-raspberrypi][PATCH 3/5] rpi-gpio: Update to v0.5.9 Andrei Gherzan
2015-02-08 11:58 ` [meta-raspberrypi][PATCH 4/5] bcm2835: Update to v1.38 Andrei Gherzan
2015-02-08 11:58 ` [meta-raspberrypi][PATCH 5/5] userland: Bump SRCREV Andrei Gherzan
2015-02-09 21:58 ` [meta-raspberrypi][PATCH 1/5] linux-raspberrypi: Refactor kernel recipes Petter Mabäcker
2015-02-09 22:06 ` Petter Mabäcker
2015-02-09 23:47   ` Andrei Gherzan
  -- strict thread matches above, loose matches on Subject: below --
2015-02-06 16:11 Andrei Gherzan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.