summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2020-11-25 15:49:10 +0000
committerAndrei Gherzan <andrei@gherzan.ro>2020-11-27 14:29:55 +0000
commit8c5809ebbb9020ac5867d25a05120a87b9da5e2c (patch)
tree123593ac7cdf2043a69bd731a279de5f9adc3e95
parent64f6a1b7cc6526a49b180ebc632520bbaad195bd (diff)
downloadmeta-raspberrypi-8c5809ebbb9020ac5867d25a05120a87b9da5e2c.tar.gz
linux-raspberrypi: Merge v5.4 recipe & inc file
There is no need for a separate inc file for the v5.4 kernel recipe. Variable assignments are simplified where possible after merging. Signed-off-by: Paul Barker <pbarker@konsulko.com>
-rw-r--r--recipes-kernel/linux/linux-raspberrypi_5.4.bb21
-rw-r--r--recipes-kernel/linux/linux-raspberrypi_5.4.inc14
2 files changed, 15 insertions, 20 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi_5.4.bb b/recipes-kernel/linux/linux-raspberrypi_5.4.bb
index b75a63a..1d04c2f 100644
--- a/recipes-kernel/linux/linux-raspberrypi_5.4.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_5.4.bb
@@ -4,10 +4,19 @@ LINUX_RPI_BRANCH ?= "rpi-5.4.y"
4SRCREV_machine = "9797f1a4938c20139b00a25de93cc99efb5c291b" 4SRCREV_machine = "9797f1a4938c20139b00a25de93cc99efb5c291b"
5SRCREV_meta = "5d52d9eea95fa09d404053360c2351b2b91b323b" 5SRCREV_meta = "5d52d9eea95fa09d404053360c2351b2b91b323b"
6 6
7require linux-raspberrypi_5.4.inc 7KMETA = "kernel-meta"
8 8
9SRC_URI += "file://0001-Revert-selftests-bpf-Skip-perf-hw-events-test-if-the.patch \ 9SRC_URI = " \
10 file://0002-Revert-selftests-bpf-Fix-perf_buffer-test-on-systems.patch \ 10 git://github.com/raspberrypi/linux.git;name=machine;branch=${LINUX_RPI_BRANCH} \
11 file://powersave.cfg \ 11 git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA} \
12 file://android-drivers.cfg \ 12 file://0001-Revert-selftests-bpf-Skip-perf-hw-events-test-if-the.patch \
13 " 13 file://0002-Revert-selftests-bpf-Fix-perf_buffer-test-on-systems.patch \
14 file://powersave.cfg \
15 file://android-drivers.cfg \
16 "
17
18require linux-raspberrypi.inc
19
20LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
21
22KERNEL_EXTRA_ARGS += "DTC_FLAGS='-@ -H epapr'"
diff --git a/recipes-kernel/linux/linux-raspberrypi_5.4.inc b/recipes-kernel/linux/linux-raspberrypi_5.4.inc
deleted file mode 100644
index 205d0b7..0000000
--- a/recipes-kernel/linux/linux-raspberrypi_5.4.inc
+++ /dev/null
@@ -1,14 +0,0 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/linux-raspberrypi:"
2
3KMETA = "kernel-meta"
4
5SRC_URI = " \
6 git://github.com/raspberrypi/linux.git;name=machine;branch=${LINUX_RPI_BRANCH} \
7 git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA} \
8 "
9
10require linux-raspberrypi.inc
11
12LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
13
14KERNEL_EXTRA_ARGS_append_rpi = " DTC_FLAGS='-@ -H epapr'"