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 <Yinzhe.Wu@sony.com>
Reviewed-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Jacky Cao <Jacky.Cao@sony.com>
Tested-by: Yinzhe Wu <Yinzhe.Wu@sony.com>
This commit is contained in:
Windrow14 2024-10-09 12:12:36 +08:00 committed by Xiang Xiao
parent fa59adde40
commit 90836e5db1

View file

@ -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: