summaryrefslogtreecommitdiffstats
path: root/bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-4.19.inc
diff options
context:
space:
mode:
authorToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
committerToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
commit5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch)
treeb4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-4.19.inc
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
agl-basesystem
Diffstat (limited to 'bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-4.19.inc')
-rw-r--r--bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-4.19.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-4.19.inc b/bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-4.19.inc
new file mode 100644
index 00000000..72353b11
--- /dev/null
+++ b/bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-4.19.inc
@@ -0,0 +1,27 @@
+SECTION = "kernel"
+DESCRIPTION = "Linux kernel for SanCloud BeagleBone devices"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
+
+inherit kernel
+
+require recipes-kernel/linux/cmem.inc
+require recipes-kernel/linux/ti-uio.inc
+
+# Look in the generic major.minor directory for files
+FILESEXTRAPATHS_prepend = "${THISDIR}/linux-bbe-4.19:"
+
+SRC_URI = "git://github.com/SanCloudLtd/linux.git;protocol=https;branch=${BRANCH}"
+
+# Apply DTS changes to support Automotive Cape if requested
+SRC_URI += '${@oe.utils.conditional("BBE_ENABLE_AUTOMOTIVE_CAPE", "1", "file://0001-Update-DTS-for-Automotive-Cape-ICU.patch", "", d)}'
+
+S = "${WORKDIR}/git"
+
+do_configure_append() {
+ oe_runmake -C ${S} O=${B} sancloud_bbe_defconfig
+}
+
+# Pull in the devicetree files into the rootfs & add run-time dependency for PM
+# firmware to the rootfs
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base += "${KERNEL_PACKAGE_NAME}-devicetree amx3-cm3"