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"