From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 09 Dec 2023 07:24:11 +0000 Subject: [PATCH] add stmac read mac form eeprom --- 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