build system: do not use GNU-isms in find

Signed-off-by: Chris Rees <utisoft@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Chris Rees 2010-11-30 09:41:39 +01:00 committed by Denys Vlasenko
parent 58c3d21c2e
commit 12caabfa2d

View File

@ -1008,8 +1008,8 @@ $(mrproper-dirs):
mrproper: clean archmrproper $(mrproper-dirs) mrproper: clean archmrproper $(mrproper-dirs)
$(call cmd,rmdirs) $(call cmd,rmdirs)
$(call cmd,rmfiles) $(call cmd,rmfiles)
@find -name Config.src | sed 's/.src$$/.in/' | xargs -r rm -f @find . -name Config.src | sed 's/.src$$/.in/' | xargs -r rm -f
@find -name Kbuild.src | sed 's/.src$$//' | xargs -r rm -f @find . -name Kbuild.src | sed 's/.src$$//' | xargs -r rm -f
# distclean # distclean
# #