scripts: Makefile: also clean subdir dtc
PATCH 1/1 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 <[email protected]>
--- scripts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/Makefile +1 -1
@@ -9,4 +9,4 @@ hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c always := $(hostprogs-y) # Let clean descend into subdirs -subdir- += basic kconfig +subdir- += basic kconfig dtc
Signature · 1 line
2.17.1
Quoted 9 lines · Philippe Reynes
Since commit
93b196532254("Makefile: Only build dtc if needed"), the sub directoryscripts/dtcis never cleaned.
Adds the directory dtc to subdir to always clean it.Signed-off-by Philippe Reynes <[email protected]>--- scripts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Simon Glass <[email protected]>
I do wish we had a test for cleaning
Quoted 6 lines · Philippe Reynes
Since commit
93b196532254("Makefile: Only build dtc if needed"), the sub directoryscripts/dtcis never cleaned.
Adds the directory dtc to subdir to always clean it.Signed-off-by Philippe Reynes <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom