blob: f2f643476f89d64a8f245c72dcd574c02ca92b71 [file] [log] [blame]
xf.li60972982023-06-22 23:27:19 -07001diff --git a/linux-zxic_5.10.bb b/linux-zxic_5.10.bb
sj.zhang470f1762023-08-22 16:08:21 +08002index abadd9b..a8c7f65 100755
xf.li60972982023-06-22 23:27:19 -07003--- a/linux-zxic_5.10.bb
4+++ b/linux-zxic_5.10.bb
sj.zhang470f1762023-08-22 16:08:21 +08005@@ -4,16 +4,16 @@ PV = "${LINUX_VERSION}"
xf.li60972982023-06-22 23:27:19 -07006 LICENSE = "GPLv2"
7 LIC_FILES_CHKSUM ?= "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
8 LINUX_VERSION ?= "5.10.156"
9-
sj.zhang470f1762023-08-22 16:08:21 +080010+BSPDIR = "${TOPDIR}/../upstream"
xf.li60972982023-06-22 23:27:19 -070011 #pub include
12-include ${BSPDIR}/sources/meta-zxic/conf/pub.inc
13+include ${TOPDIR}/layers/meta-zxic/conf/pub_esdk.inc
14
15 DEPENDS += "kern-tools-native"
sj.zhang470f1762023-08-22 16:08:21 +080016 DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','dm-verity','zstd-native','',d)}"
xf.li60972982023-06-22 23:27:19 -070017 inherit kernel siteinfo
18
xf.lifff5a302024-09-18 22:27:16 -070019 EXTRA_OEMAKE_append = " LOADADDR=${KERNEL_LOADADDR} EXTRA_CFLAGS='${ZXIC_EXTRA_CFLAGS}' EXTRA_AFLAGS='${ZXIC_EXTRA_CFLAGS}' "
xf.li60972982023-06-22 23:27:19 -070020-FILESEXTRAPATHS_prepend :="${SRC-PATH}:"
21+FILESEXTRAPATHS_prepend :="${TOPDIR}/../upstream:"
22 # PR_CONFIG_cpe = "linux-5_10-cpe-${BOOT_CTL}-defconfig"
23 # PR_CONFIG_v2x = "linux-5_10-v2x-${BOOT_CTL}-defconfig"
24 PR_CONFIG_vehicle_dc = "linux-5_10-vehicle_dc-${BOOT_CTL}-defconfig"
sj.zhang470f1762023-08-22 16:08:21 +080025@@ -61,7 +61,7 @@ kernel_do_configure() {
26
27 fakeroot do_cpio () {
28 if ${@bb.utils.contains('DISTRO_FEATURES','dm-verity','true','false',d)}; then
29- cp -v ${BSPDIR}/sources/meta-zxic-custom/conf/distro/dm-verity/${KERNEL_INITRAMFS_CPIO} ${B}/
30+ cp -v ${BSPDIR}/../esdk/sources/meta-zxic-custom/conf/distro/dm-verity/${KERNEL_INITRAMFS_CPIO} ${B}/
31 fi
32 }
sj.zhang7bb313f2023-08-24 22:14:58 -070033