blob: f2f643476f89d64a8f245c72dcd574c02ca92b71 [file] [log] [blame]
l.yangb8fdece2024-10-10 14:56:17 +08001diff --git a/linux-zxic_5.10.bb b/linux-zxic_5.10.bb
2index abadd9b..a8c7f65 100755
3--- a/linux-zxic_5.10.bb
4+++ b/linux-zxic_5.10.bb
5@@ -4,16 +4,16 @@ PV = "${LINUX_VERSION}"
6 LICENSE = "GPLv2"
7 LIC_FILES_CHKSUM ?= "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
8 LINUX_VERSION ?= "5.10.156"
9-
10+BSPDIR = "${TOPDIR}/../upstream"
11 #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"
16 DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','dm-verity','zstd-native','',d)}"
17 inherit kernel siteinfo
18
l.yangafee7ee2024-10-10 15:01:10 +080019 EXTRA_OEMAKE_append = " LOADADDR=${KERNEL_LOADADDR} EXTRA_CFLAGS='${ZXIC_EXTRA_CFLAGS}' EXTRA_AFLAGS='${ZXIC_EXTRA_CFLAGS}' "
l.yangb8fdece2024-10-10 14:56:17 +080020-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"
25@@ -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 }
33