diff --git a/meta-digi-arm/recipes-kernel/linux/linux-dey.inc b/meta-digi-arm/recipes-kernel/linux/linux-dey.inc index 31d49adad..1b9808182 100644 --- a/meta-digi-arm/recipes-kernel/linux/linux-dey.inc +++ b/meta-digi-arm/recipes-kernel/linux/linux-dey.inc @@ -1,9 +1,13 @@ # Copyright (C) 2013 Digi International -require recipes-kernel/linux/linux-imx.inc - SUMMARY = "Linux kernel for Digi boards" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" + DEPENDS += "lzop-native bc-native" + +inherit kernel fsl-kernel-localversion + LOCALVERSION = "-dey" SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-linux.git;protocol=git;nobranch=1" @@ -13,6 +17,12 @@ SRC_URI = " \ file://defconfig \ " +S = "${WORKDIR}/git" + +# We need to pass it as param since kernel might support more than one +# machine, with different entry points +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" + do_deploy_append() { (cd ${DEPLOYDIR} && ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME}) }