[PATCH] scripts: Makefile: also clean subdir dtc

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

On Tue, 25 Jan 2022 at 03:32, Philippe Reynes philippe.reynes@softathome.com wrote:
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
scripts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org
I do wish we had a test for cleaning

On Tue, Jan 25, 2022 at 11:32:20AM +0100, Philippe Reynes wrote:
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
Applied to u-boot/master, thanks!
participants (3)
-
Philippe Reynes
-
Simon Glass
-
Tom Rini