From 90836e5db1a8b1782a155eb24493330d67a7d2e8 Mon Sep 17 00:00:00 2001 From: Windrow14 <90297720+Windrow14@users.noreply.github.com> Date: Wed, 9 Oct 2024 12:12:36 +0800 Subject: [PATCH] libs/libc/fdt/Make.defs: cannot move due to directory not empty bugfix Remove old directory so that "mv" can succeed instead of triggering "Directory not empty" error. Signed-off-by: Yinzhe Wu Reviewed-by: Yuezhang Mo Reviewed-by: Jacky Cao Tested-by: Yinzhe Wu --- libs/libc/fdt/Make.defs | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/libc/fdt/Make.defs b/libs/libc/fdt/Make.defs index 6264c0a71c..190681acb6 100644 --- a/libs/libc/fdt/Make.defs +++ b/libs/libc/fdt/Make.defs @@ -30,6 +30,7 @@ dtc: $(call DOWNLOAD,https://github.com/dgibson/dtc/archive,v$(VERSION).zip,dtc.zip) $(Q) mv dtc.zip fdt/dtc.zip $(Q) unzip -o fdt/dtc.zip -d fdt + $(call DELDIR, fdt/dtc) $(Q) mv fdt/dtc-$(VERSION) fdt/dtc else dtc: