From df21d61b75407f35600b6108563b1674ca24ee3d Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Mon, 15 Dec 2014 17:24:06 -0600 Subject: changes for building 3.19 kernel with complete DT Overlay support --- recipes-kernel/linux/linux_3.19.bb | 58 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 recipes-kernel/linux/linux_3.19.bb (limited to 'recipes-kernel/linux/linux_3.19.bb') diff --git a/recipes-kernel/linux/linux_3.19.bb b/recipes-kernel/linux/linux_3.19.bb new file mode 100644 index 0000000..6c55caa --- /dev/null +++ b/recipes-kernel/linux/linux_3.19.bb @@ -0,0 +1,58 @@ +inherit kernel +# mts class to build dtb and append to kernel image +inherit linux-append-dtb +# mts class to compile and install device tree overlays +inherit linux-compile-overlays + +PR = "r1" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" + +DEPENDS += "xz-native bc-native" + +PACKAGES += "kernel-firmware-overlays" + +FILES_kernel-firmware-overlays += "${base_libdir}/firmware/*.dtbo" + +KERNEL_EXTRA_ARGS = "LOADADDR=0x80008000" + +SRCREV = "devicetree-for-linus" + +SRC_URI = " \ + git://git.kernel.org/pub/scm/linux/kernel/git/glikely/linux.git;branch="devicetree/next" \ + file://overlays/ \ + " + +S = "${WORKDIR}/git" + +#COMMON_PATCHES = " \ +# file://linux-3.12-wl12xx-set-power.patch \ +# file://linux-3.12-gpio-expose-pullups.patch \ +# file://linux-3.12-gpio-expose-deglitch.patch \ +# file://linux-3.12-atmel-spi.patch \ +# file://linux-3.12-atmel-mci-force-detect.patch \ +# file://linux-3.12-atmel-pmecc-debug-bitflips.patch \ +# file://linux-3.12-at91sam9_wdt-10second-timeout.patch \ +# file://linux-3.12.27-option-telit.patch \ +# file://linux-3.12-cdc-acm-ignore-exar-devices.patch \ +# file://linux-3.12-release-rfcomm-port-fix.patch \ +# " + +OVERLAY_PATCHES = " \ + file://overlay-patches/configfs-Implement-binary-attributes-v3.patch \ + file://overlay-patches/dtc-dynamic-support.patch \ + file://overlay-patches/v8-3-8-OF-DT-Overlay-configfs-interface-v2.patch \ + " + +SRC_URI_append_mtcdt = "\ + ${OVERLAY_PATCHES} \ + file://defconfig \ + file://linux-3.19-eeprom-setup-mtcdt.patch \ + file://linux-3.19-mtcdt-device-tree.patch \ + file://linux-3.19-add-num_accessory_ports-config-option.patch \ + file://allow-compile-GCC-4.8.patch \ + " + +COMPATIBLE_MACHINE = "(mtcdt)" +DTB_APPEND_mtcdt = "mtcdt" -- cgit v1.2.3