meta-freescale-3rdparty/recipes-kernel/linux/linux-boundary_4.14.x.bb
Chris Dimich 81d336c6c4 linux-boundary: bump revision to 623045d
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-05 09:03:09 -03:00

33 lines
1.1 KiB
BlitzBasic

# Adapted from linux-imx.inc, copyright (C) 2013, 2014 O.S. Systems Software LTDA
# Released under the MIT license (see COPYING.MIT for the terms)
require recipes-kernel/linux/linux-imx.inc
SUMMARY = "Linux kernel for Boundary Devices boards"
SRC_URI = "git://github.com/boundarydevices/linux-imx6.git;branch=${SRCBRANCH} \
"
LOCALVERSION = "-2.0.0-ga+yocto"
SRCBRANCH = "boundary-imx_4.14.x_2.0.0_ga"
SRCREV = "623045d392e48543e1ee1c04a11b155e91452530"
DEPENDS += "lzop-native bc-native"
COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite|nitrogen6sx|nitrogen7|nitrogen8m|nitrogen8mm|nitrogen8mn)"
KERNEL_DEFCONFIG ?= "boundary_defconfig"
S = "${WORKDIR}/git"
#Copy boundary_defconfig from git
do_copy_default_config() {
if [ ! -f ${WORKDIR}/defconfig ]; then
if [ -f ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ]; then
cp ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig
else
bberror "KERNEL_DEFCONFIG does not exist! Please set a valid KERNEL_DEFCONFIG"
fi
fi
}
addtask copy_default_config before do_preconfigure after do_patch