From: Masahiro Yamada Date: Thu, 4 Sep 2014 16:56:51 +0000 (+0900) Subject: scripts/Makefile.clean: clean also $(extra-m) and $(extra-) X-Git-Tag: v2014.10-rc3~90 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=021f0495979317e26b2cf582cf2b765008390bcd;p=oweals%2Fu-boot.git scripts/Makefile.clean: clean also $(extra-m) and $(extra-) This commit is a backport from Linux Kernel, commit 9d5db8949f1ecf4019785b04d8986835d3c0e99e, written by me. Signed-off-by: Masahiro Yamada --- diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean index d6dcd47f6f..88f14e2d8f 100644 --- a/scripts/Makefile.clean +++ b/scripts/Makefile.clean @@ -45,8 +45,8 @@ subdir-ymn := $(foreach f, $(subdir-ymn), \ # build a list of files to remove, usually relative to the current # directory -__clean-files := $(extra-y) $(always) \ - $(targets) $(clean-files) \ +__clean-files := $(extra-y) $(extra-m) $(extra-) \ + $(always) $(targets) $(clean-files) \ $(host-progs) \ $(hostprogs-y) $(hostprogs-m) $(hostprogs-)