blob: b7ca72108b9c7b5175af8987d102d3ed4b76448e (
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
|
inherit kernel
require recipes-kernel/linux/linux-dtb.inc
DESCRIPTION = "Linux kernel for Freescale platforms"
SECTION = "kernel"
LICENSE = "GPLv2"
require recipes-kernel/linux/linux-qoriq-sdk.inc
SRC_URI += "file://libtraceevent-Remove-hard-coded-include-to-usr-local-include-in-Makefile.patch"
PR = "${INC_PR}.1"
DEPENDS_append = " libgcc kern-tools-native"
KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}"
KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}"
do_configure_prepend() {
# copy desired defconfig so we pick it up for the real kernel_do_configure
cp ${KERNEL_DEFCONFIG} ${B}/.config
# add config fragments
if [ -a "${DELTA_KERNEL_DEFCONFIG}" ]; then
merge_config.sh -m .config ${DELTA_KERNEL_DEFCONFIG}
fi
# append sdk version in kernel version if SDK_VERSION is defined
if [ -n "${SDK_VERSION}" ]; then
echo "CONFIG_LOCALVERSION=\"-${SDK_VERSION}\"" >> ${S}/.config
fi
}
|