xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 1 | diff --git a/linux-zxic_5.10.bb b/linux-zxic_5.10.bb |
sj.zhang | 470f176 | 2023-08-22 16:08:21 +0800 | [diff] [blame] | 2 | index abadd9b..a8c7f65 100755 |
xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 3 | --- a/linux-zxic_5.10.bb |
| 4 | +++ b/linux-zxic_5.10.bb |
sj.zhang | 470f176 | 2023-08-22 16:08:21 +0800 | [diff] [blame] | 5 | @@ -4,16 +4,16 @@ PV = "${LINUX_VERSION}" |
xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 6 | LICENSE = "GPLv2" |
| 7 | LIC_FILES_CHKSUM ?= "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
| 8 | LINUX_VERSION ?= "5.10.156" |
| 9 | - |
sj.zhang | 470f176 | 2023-08-22 16:08:21 +0800 | [diff] [blame] | 10 | +BSPDIR = "${TOPDIR}/../upstream" |
xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 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" |
sj.zhang | 470f176 | 2023-08-22 16:08:21 +0800 | [diff] [blame] | 16 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','dm-verity','zstd-native','',d)}" |
xf.li | 6097298 | 2023-06-22 23:27:19 -0700 | [diff] [blame] | 17 | inherit kernel siteinfo |
| 18 | |
| 19 | EXTRA_OEMAKE_append = " LOADADDR=${KERNEL_LOADADDR} EXTRA_CFLAGS='${ZXIC_EXTRA_CFLAGS}' " |
| 20 | -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.zhang | 470f176 | 2023-08-22 16:08:21 +0800 | [diff] [blame] | 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 | } |
sj.zhang | 7bb313f | 2023-08-24 22:14:58 -0700 | [diff] [blame^] | 33 | |