immortalwrt/package/boot/uboot-rockchip/patches/001-force-build-dtc.patch
Tianling Shen a82b84e63b
uboot-rockchip: Update to 2023.01
Removed upstream patch:
- 010-arm-dts-rockchip-rk356x-sync-with-Linux-6.0.patch

Refreshed all patches and defconfigs.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-14 20:29:02 +08:00

21 lines
670 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -416,7 +416,7 @@ PYTHON3 ?= python3
# The devicetree compiler and pylibfdt are automatically built unless DTC is
# provided. If DTC is provided, it is assumed the pylibfdt is available too.
-DTC_INTREE := $(objtree)/scripts/dtc/dtc
+DTC := $(objtree)/scripts/dtc/dtc
DTC ?= $(DTC_INTREE)
DTC_MIN_VERSION := 010406
@@ -2028,7 +2028,7 @@ endif
# Check dtc and pylibfdt, if DTC is provided, else build them
PHONY += scripts_dtc
scripts_dtc: scripts_basic
- $(Q)if test "$(DTC)" = "$(DTC_INTREE)"; then \
+ $(Q)if test "$(DTC)" = "$(DTC)"; then \
$(MAKE) $(build)=scripts/dtc; \
else \
if ! $(DTC) -v >/dev/null; then \