From a84ba9b73c731a7e8ce5f8c495d36b8fb46b210a Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Sat, 11 Mar 2017 13:29:39 +0000 Subject: 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 --- ...-Add-rules-for-.dtbo-files-for-dts-overla.patch | 29 ++++++++++++++++++++++ recipes-kernel/linux/linux-raspberrypi_dev.bb | 3 ++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 recipes-kernel/linux/linux-raspberrypi-dev/0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch (limited to 'recipes-kernel') 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 @@ +From 922ce1fd0eb810b713f6ffa9a7ab97c11b6e38cf Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 10 Feb 2017 17:57:08 -0800 +Subject: [PATCH] build/arm64: Add rules for .dtbo files for dts overlays + +We now create overlays as .dtbo files. + +Signed-off-by: Khem Raj +--- + arch/arm64/Makefile | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile +index 3635b8662724..822fefeb1cd0 100644 +--- a/arch/arm64/Makefile ++++ b/arch/arm64/Makefile +@@ -113,6 +113,9 @@ zinstall install: + %.dtb: scripts + $(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@ + ++%.dtbo: | scripts ++ $(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@ ++ + PHONY += dtbs dtbs_install + + dtbs: prepare scripts +-- +2.11.1 + 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 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-dev:" LINUX_VERSION ?= "4.10" LINUX_RPI_DEV_BRANCH ?= "rpi-4.10.y" SRCREV = "${AUTOREV}" SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=${LINUX_RPI_DEV_BRANCH} \ + file://0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch \ " require linux-raspberrypi.inc -- cgit v1.2.3-54-g00ecf