From 9df731a176aab8e03b984b681b1bea01ccff6644 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 06 Nov 2023 07:23:06 +0000 Subject: [PATCH] rk3568 rt uboot init --- u-boot/arch/arm/dts/Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/u-boot/arch/arm/dts/Makefile b/u-boot/arch/arm/dts/Makefile index b834bc3..0fcc630 100644 --- a/u-boot/arch/arm/dts/Makefile +++ b/u-boot/arch/arm/dts/Makefile @@ -453,12 +453,14 @@ dtb-$(CONFIG_ARCH_STI) += stih410-b2260.dtb # Compile embeded kernel dts to dtb, and put it behind of u-boot.dtb +ifeq ($(findstring arch/arm/dts/,$(EMBED_KERN_DTB_PATH)),arch/arm/dts/) EMBED_KERN_DTB_PATH := $(CONFIG_EMBED_KERNEL_DTB_PATH:"%"=%) EMBED_KERN_DTS_PATH := $(subst dtb,dts, $(EMBED_KERN_DTB_PATH)) ifneq ($(wildcard $(EMBED_KERN_DTS_PATH)),) EMBED_KERN_DTB=$(shell echo $(EMBED_KERN_DTB_PATH) | awk -F '/' '{ print $$NF }') dtb-y += $(EMBED_KERN_DTB) endif +endif targets += $(dtb-y) -- Gitblit v1.6.2