From c60243465f61d8a76069ebba2e756fbee0e117dd Mon Sep 17 00:00:00 2001 From: Dragos Motrea Date: Thu, 4 Jan 2018 10:49:12 +0100 Subject: kernel-devsrc: fix do_install The kernel-devsrc install task was failing because of wrong overlays directory path from Makefile. Signed-off-by: Dragos Motrea Signed-off-by: Adrian Dudau --- .../0001-Changed-overlays-directory-path.patch | 28 ++++++++++++++++++++++ .../linux/linux-raspberrypi_4.9.bbappend | 4 ++++ 2 files changed, 32 insertions(+) create mode 100644 recipes-kernel/linux/linux-raspberrypi/0001-Changed-overlays-directory-path.patch diff --git a/recipes-kernel/linux/linux-raspberrypi/0001-Changed-overlays-directory-path.patch b/recipes-kernel/linux/linux-raspberrypi/0001-Changed-overlays-directory-path.patch new file mode 100644 index 0000000..f3d49af --- /dev/null +++ b/recipes-kernel/linux/linux-raspberrypi/0001-Changed-overlays-directory-path.patch @@ -0,0 +1,28 @@ +From 09862c159c191314b77003ccf99cd4ae0dd6119d Mon Sep 17 00:00:00 2001 +From: Dragos Motrea +Date: Fri, 29 Dec 2017 10:51:09 +0100 +Subject: Changed overlays directory path + +Modified dts-dirs to point to the existing overlays directory. + +Signed-off-by: Dragos Motrea +--- + arch/arm64/boot/dts/broadcom/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile +index 7aa03be..6349d57 100644 +--- a/arch/arm64/boot/dts/broadcom/Makefile ++++ b/arch/arm64/boot/dts/broadcom/Makefile +@@ -9,7 +9,7 @@ dtb-$(CONFIG_ARCH_BCM_IPROC) += ns2-svk.dtb + dtb-$(CONFIG_ARCH_VULCAN) += vulcan-eval.dtb + dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b.dtb + +-dts-dirs += ../overlays ++dts-dirs += ../../../../arm/boot/dts/overlays + + always := $(dtb-y) + subdir-y := $(dts-dirs) +-- +2.7.4 + diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bbappend b/recipes-kernel/linux/linux-raspberrypi_4.9.bbappend index 424aa53..619a263 100644 --- a/recipes-kernel/linux/linux-raspberrypi_4.9.bbappend +++ b/recipes-kernel/linux/linux-raspberrypi_4.9.bbappend @@ -1,5 +1,9 @@ require recipes-kernel/linux/linux-deploy-kconfig.inc +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://0001-Changed-overlays-directory-path.patch" + # Inhibits warnings printed during do_kernel_configcheck KCONF_AUDIT_LEVEL = "0" -- cgit v1.2.3-54-g00ecf