| diff --git a/linux-zxic_5.10.bb b/linux-zxic_5.10.bb |
| index abadd9b..a8c7f65 100755 |
| --- a/linux-zxic_5.10.bb |
| +++ b/linux-zxic_5.10.bb |
| @@ -4,16 +4,16 @@ PV = "${LINUX_VERSION}" |
| LICENSE = "GPLv2" |
| LIC_FILES_CHKSUM ?= "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
| LINUX_VERSION ?= "5.10.156" |
| - |
| +BSPDIR = "${TOPDIR}/../upstream" |
| #pub include |
| -include ${BSPDIR}/sources/meta-zxic/conf/pub.inc |
| +include ${TOPDIR}/layers/meta-zxic/conf/pub_esdk.inc |
| |
| DEPENDS += "kern-tools-native" |
| DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','dm-verity','zstd-native','',d)}" |
| inherit kernel siteinfo |
| |
| EXTRA_OEMAKE_append = " LOADADDR=${KERNEL_LOADADDR} EXTRA_CFLAGS='${ZXIC_EXTRA_CFLAGS}' EXTRA_AFLAGS='${ZXIC_EXTRA_CFLAGS}' " |
| -FILESEXTRAPATHS_prepend :="${SRC-PATH}:" |
| +FILESEXTRAPATHS_prepend :="${TOPDIR}/../upstream:" |
| # PR_CONFIG_cpe = "linux-5_10-cpe-${BOOT_CTL}-defconfig" |
| # PR_CONFIG_v2x = "linux-5_10-v2x-${BOOT_CTL}-defconfig" |
| PR_CONFIG_vehicle_dc = "linux-5_10-vehicle_dc-${BOOT_CTL}-defconfig" |
| @@ -61,7 +61,7 @@ kernel_do_configure() { |
| |
| fakeroot do_cpio () { |
| if ${@bb.utils.contains('DISTRO_FEATURES','dm-verity','true','false',d)}; then |
| - cp -v ${BSPDIR}/sources/meta-zxic-custom/conf/distro/dm-verity/${KERNEL_INITRAMFS_CPIO} ${B}/ |
| + cp -v ${BSPDIR}/../esdk/sources/meta-zxic-custom/conf/distro/dm-verity/${KERNEL_INITRAMFS_CPIO} ${B}/ |
| fi |
| } |
| |