33 lines
1.2 KiB
BlitzBasic
33 lines
1.2 KiB
BlitzBasic
# Copyright (C) 2012 Digi International
|
|
|
|
require recipes-kernel/linux/linux-dtb.inc
|
|
|
|
include linux-dey.inc
|
|
include linux-dey-rev_${PV}.inc
|
|
|
|
PR = "${DISTRO}.${INC_PR}.0"
|
|
|
|
LOCALVERSION_mxs = "mxs"
|
|
LOCALVERSION_cpx2_mxs = "mxs+gateways"
|
|
|
|
KERNEL_CFG_FRAGS ?= ""
|
|
KERNEL_CFG_FRAGS_append_mxs = " ${@base_contains('MACHINE_FEATURES', 'wifi', 'file://config-wireless-atheros.cfg', '', d)}"
|
|
KERNEL_CFG_FRAGS_append_mxs = " ${@base_contains('MACHINE_FEATURES', 'bluetooth', 'file://config-bluetooth-atheros.cfg', '', d)}"
|
|
KERNEL_CFG_FRAGS_append_ccardimx28js = " ${@base_contains('MACHINE_FEATURES', '1-wire', 'file://config-1-wire.cfg', '', d)}"
|
|
KERNEL_CFG_FRAGS_append_ccardimx28js = " ${@base_contains('MACHINE_FEATURES', 'ext-eth', 'file://config-ext-eth.cfg', '', d)}"
|
|
KERNEL_CFG_FRAGS_append_ccardimx28js = " ${@base_contains('DISTRO_FEATURES', 'x11', 'file://config-fb.cfg file://config-touch.cfg', '', d)}"
|
|
KERNEL_CFG_FRAGS_append_ccardimx28js = " ${@base_contains('MACHINE_FEATURES', 'alsa', 'file://config-sound.cfg', '', d)}"
|
|
|
|
SRC_URI += " \
|
|
file://defconfig \
|
|
${KERNEL_CFG_FRAGS} \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/${DTSNAME}.dts"
|
|
|
|
FILES_kernel-image += "/boot/config*"
|
|
|
|
COMPATIBLE_MACHINE = "(mxs)"
|