diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-02-16 10:46:36 -0800 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2017-02-16 20:53:02 +0100 |
commit | 39bd54a3f60361a5fdbb1e3e5eb46abf002f58e6 (patch) | |
tree | 6eedb03b4edecef0df3f91e8388f06c59207a945 | |
parent | d9c6b7903e653e57cae5a7cacf9ca48f12a33a79 (diff) | |
download | meta-raspberrypi-39bd54a3f60361a5fdbb1e3e5eb46abf002f58e6.tar.gz |
linux-raspberrypi_4.9.bb: Upgrade to 4.9.10
Fix dtbo builds for arm64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-kernel/linux/linux-raspberrypi-4.9/0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch | 29 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-raspberrypi_4.9.bb | 5 |
2 files changed, 32 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi-4.9/0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch b/recipes-kernel/linux/linux-raspberrypi-4.9/0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch new file mode 100644 index 0000000..e8bc52e --- /dev/null +++ b/recipes-kernel/linux/linux-raspberrypi-4.9/0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 922ce1fd0eb810b713f6ffa9a7ab97c11b6e38cf Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 10 Feb 2017 17:57:08 -0800 | ||
4 | Subject: [PATCH] build/arm64: Add rules for .dtbo files for dts overlays | ||
5 | |||
6 | We now create overlays as .dtbo files. | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | arch/arm64/Makefile | 3 +++ | ||
11 | 1 file changed, 3 insertions(+) | ||
12 | |||
13 | diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile | ||
14 | index 3635b8662724..822fefeb1cd0 100644 | ||
15 | --- a/arch/arm64/Makefile | ||
16 | +++ b/arch/arm64/Makefile | ||
17 | @@ -113,6 +113,9 @@ zinstall install: | ||
18 | %.dtb: scripts | ||
19 | $(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@ | ||
20 | |||
21 | +%.dtbo: | scripts | ||
22 | + $(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@ | ||
23 | + | ||
24 | PHONY += dtbs dtbs_install | ||
25 | |||
26 | dtbs: prepare scripts | ||
27 | -- | ||
28 | 2.11.1 | ||
29 | |||
diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bb b/recipes-kernel/linux/linux-raspberrypi_4.9.bb index cffea1a..dcca369 100644 --- a/recipes-kernel/linux/linux-raspberrypi_4.9.bb +++ b/recipes-kernel/linux/linux-raspberrypi_4.9.bb | |||
@@ -1,8 +1,9 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" |
2 | 2 | ||
3 | LINUX_VERSION ?= "4.9.4" | 3 | LINUX_VERSION ?= "4.9.10" |
4 | 4 | ||
5 | SRCREV = "8b0be887f834e7eccf0de3edf630003880779a5f" | 5 | SRCREV = "095c4480e1f623bdc8a221a171ef13b2223706b1" |
6 | SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.9.y \ | 6 | SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.9.y \ |
7 | file://0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch \ | ||
7 | " | 8 | " |
8 | require linux-raspberrypi.inc | 9 | require linux-raspberrypi.inc |