diff options
author | Paul Barker <pbarker@toganlabs.com> | 2017-03-11 13:29:39 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2017-03-11 09:43:17 -0800 |
commit | a84ba9b73c731a7e8ce5f8c495d36b8fb46b210a (patch) | |
tree | 4a7c7150cecd7f56245087579ff80cb4d1ca7dfd /recipes-kernel | |
parent | 65b9376450601a10ac569a94760bdf39b96fb043 (diff) | |
download | meta-raspberrypi-a84ba9b73c731a7e8ce5f8c495d36b8fb46b210a.tar.gz |
linux-raspberrypi_dev: Add back arm64 dtbo rules patch
This patch hasn't yet been applied to the 4.10.y branch of
linux-raspberrypi.
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-raspberrypi-dev/0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch | 29 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-raspberrypi_dev.bb | 3 |
2 files changed, 31 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi-dev/0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch b/recipes-kernel/linux/linux-raspberrypi-dev/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-dev/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_dev.bb b/recipes-kernel/linux/linux-raspberrypi_dev.bb index ee3c5a6..bcaf3cd 100644 --- a/recipes-kernel/linux/linux-raspberrypi_dev.bb +++ b/recipes-kernel/linux/linux-raspberrypi_dev.bb | |||
@@ -1,10 +1,11 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-dev:" |
2 | 2 | ||
3 | LINUX_VERSION ?= "4.10" | 3 | LINUX_VERSION ?= "4.10" |
4 | LINUX_RPI_DEV_BRANCH ?= "rpi-4.10.y" | 4 | LINUX_RPI_DEV_BRANCH ?= "rpi-4.10.y" |
5 | 5 | ||
6 | SRCREV = "${AUTOREV}" | 6 | SRCREV = "${AUTOREV}" |
7 | SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=${LINUX_RPI_DEV_BRANCH} \ | 7 | SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=${LINUX_RPI_DEV_BRANCH} \ |
8 | file://0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch \ | ||
8 | " | 9 | " |
9 | require linux-raspberrypi.inc | 10 | require linux-raspberrypi.inc |
10 | 11 | ||