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