We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ab948c commit f7a1838Copy full SHA for f7a1838
arch/arm64/boot/dts/qcom/overlays/Makefile
@@ -1,4 +1,7 @@
1
# SPDX-License-Identifier: GPL-2.0
2
+# dtso can only build on kernel >= 6.2
3
+# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=363547d2191cbc32ca954ba75d72908712398ff2
4
+ifeq ($(shell [ $(VERSION) -gt 6 ] || ( [ $(VERSION) -eq 6 ] && [ $(PATCHLEVEL) -ge 2 ] ) && echo 0), 0)
5
dtb-$(CONFIG_ARCH_QCOM) += qcs6490-radxa-dragon-q6a-cam1-imx577.dtbo \
6
qcs6490-radxa-dragon-q6a-cam2-radxa-camera-8m-219.dtbo \
7
qcs6490-radxa-dragon-q6a-cam3-radxa-camera-8m-219.dtbo \
@@ -14,3 +17,4 @@ clean-files := *.dtbo
14
17
# HACK: fix build dtbo from dkms using kernel header
15
18
DTC ?= /usr/bin/dtc
16
19
override DTC_INCLUDE := $(srctree)/include
20
+endif
0 commit comments