[PATCH] scripts: Makefile: also clean subdir dtc

Philippe Reynes philippe.reynes at softathome.com
Tue Jan 25 11:32:20 CET 2022


Since commit 93b196532254 ("Makefile: Only build dtc if needed"),
the sub directory scripts/dtc is never cleaned.
Adds the directory dtc to subdir to always clean it.

Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
---
 scripts/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile b/scripts/Makefile
index cfe9fef804..8731e6cecd 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -9,4 +9,4 @@ hostprogs-$(CONFIG_BUILD_BIN2C)		+= bin2c
 always		:= $(hostprogs-y)
 
 # Let clean descend into subdirs
-subdir-	+= basic kconfig
+subdir-	+= basic kconfig dtc
-- 
2.17.1



More information about the U-Boot mailing list