blob: 6c55caa7ee28890247e40bae824b0b7f22c2c482 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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"
|