scripts/Makefile.clean: Make Kbuild and Makefile optional
authorPeter Tyser <ptyser@xes-inc.com>
Thu, 13 May 2010 23:46:00 +0000 (18:46 -0500)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 16 May 2010 00:50:07 +0000 (02:50 +0200)
commit748139332ad632001935b0535764cdbd1c71ce26
treedb6aa8eb3c8b7c34c25468b4faa958d06bb3c3b7
parent0bb2980605f88b1c78757db0c7a149d15a167288
scripts/Makefile.clean: Make Kbuild and Makefile optional

During cleaning, some directories might not have a Makefile or Kbuild
file.  Previously scripts/Makefile.clean would spit out the following
error when neither file could be found:
ptyser@petert busybox $ make mrproper
scripts/Makefile.clean:17: /home/user/busybox/findutils/Makefile: No such file or directory
make[1]: *** No rule to make target `/home/user/busybox/findutils/Makefile'.  Stop.
make: *** [_clean_findutils] Error 2

This issue can be triggered by running 'make mrproper' in a freshly
cloned busybox repository.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
scripts/Makefile.clean