blob: 38cdcbc5d69152266891d66dfa848a088c0163c7 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001inherit kernel externalsrc ramdisk-fitimage-extension
2DEPENDS_append_aarch64 = " libgcc"
3KERNEL_CC_append_aarch64 = " ${TOOLCHAIN_OPTIONS}"
4KERNEL_LD_append_aarch64 = " ${TOOLCHAIN_OPTIONS}"
5
6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
8EXTERNALSRC = "${KERNEL_SRC}"
9STAGING_KERNEL_DIR = "${KERNEL_SRC}"
10LINUX_VERSION_EXTENSION = "-custom"
11KERNEL_EXTRA_ARGS = "dtbs"
12KERNEL_CONFIG_COMMAND = "oe_runmake_call -C ${S} O=${B} ${KBUILD_DEFCONFIG}"
13
14INITRAMFS_IMAGE = "mtk-core-image-minimal-initramfs"
15INITRAMFS_IMAGE_BUNDLE = "1"
16
17SRC_IMG_KEY_FILE = "${MTK_KEY_DIR}/${VERIFIED_KEY}.pem"
18DST_IMG_KEY_FILE = "${TOPDIR}/../src/devtools/nfsb/rsa.key"
19
20do_configure_prepend() {
21 install -d ${TMPDIR}/work-shared/${MACHINE}
22 ln -nfs ${STAGING_KERNEL_DIR} ${TMPDIR}/work-shared/${MACHINE}/kernel-source
23}
24