Skip to content

Commit 4f8f528

Browse files
authored
Merge pull request #322 from CodeChenL/main
fix: can overlays aren't compiled when kernel is bsp 6.1
2 parents 5715350 + afceffe commit 4f8f528

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
do
3636
OVERLAY_NAME="$(basename "$i")"
3737
OVERLAY_NAME="${OVERLAY_NAME/.dts}.dtbo"
38-
if ! grep "$OVERLAY_NAME" "${OVERLAY_PATH}/Makefile" >/dev/null 2>/dev/null
38+
if ! grep "$OVERLAY_NAME" "${OVERLAY_PATH}/Makefile"* >/dev/null 2>/dev/null
3939
then
4040
echo "$OVERLAY_NAME is not included in $VENDOR Makefile!"
4141
MISSING=1

arch/arm64/boot/dts/rockchip/overlays/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ ifeq ($(strip $(CONFIG_CPU_RK3588)), y)
1818
CONFIG_CLK_RK3588 ?= y
1919
endif
2020

21+
-include $(src)/Makefile.rk3588-can
22+
2123
dtb-$(CONFIG_CLK_RK3308) += \
2224
radxa-s0-ext-antenna.dtbo \
2325
rk3308-bs-opp-1008.dtbo \
@@ -432,9 +434,6 @@ dtb-$(CONFIG_CLK_RK3588) += \
432434
rock-5b-sata.dtbo
433435

434436
dtb-$(CONFIG_CPU_RK3588) += \
435-
rk3588-can1-m0.dtbo \
436-
rk3588-can1-m1.dtbo \
437-
rk3588-can2-m1.dtbo \
438437
radxa-cm5-io-okdo-5mp.dtbo \
439438
radxa-cm5-io-radxa-display-8hd.dtbo \
440439
radxa-cm5-io-radxa-camera-4k.dtbo \
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
3+
dtb-$(CONFIG_CPU_RK3588) += \
4+
rk3588-can1-m0.dtbo \
5+
rk3588-can1-m1.dtbo \
6+
rk3588-can2-m1.dtbo

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ override_dh_builddeb:
1313
dh_builddeb -- -Zxz
1414

1515
override_dh_install:
16-
DEB_VERSION=$(DEB_VERSION) dh_install
16+
DEB_VERSION=$(DEB_VERSION) dh_install -X arch/arm64/boot/dts/rockchip/overlays/Makefile.rk3588-can

0 commit comments

Comments
 (0)