scripts: Makefile: also clean subdir dtc
authorPhilippe Reynes <philippe.reynes@softathome.com>
Tue, 25 Jan 2022 10:32:20 +0000 (11:32 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 3 Feb 2022 17:15:36 +0000 (12:15 -0500)
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@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/Makefile

index cfe9fef..8731e6c 100644 (file)
@@ -9,4 +9,4 @@ hostprogs-$(CONFIG_BUILD_BIN2C)         += bin2c
 always         := $(hostprogs-y)
 
 # Let clean descend into subdirs
-subdir-        += basic kconfig
+subdir-        += basic kconfig dtc