diff options
Diffstat (limited to 'scripts/Makefile.clean')
-rw-r--r-- | scripts/Makefile.clean | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean index 686cb0d31c..5cd0f51770 100644 --- a/scripts/Makefile.clean +++ b/scripts/Makefile.clean @@ -37,6 +37,10 @@ subdir-ymn := $(sort $(subdir-ym) $(subdir-n) $(subdir-)) subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn)) +# Temporal work-around for U-Boot + +subdir-ymn := $(foreach f, $(subdir-ymn), $(if $(wildcard $f/Makefile),$f)) + # build a list of files to remove, usually relative to the current # directory |