[PATCH] Fix spurious error on TAGS target when missing defconfig
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 4 Oct 2006 09:15:32 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:14 +0000 (07:55 -0700)
commit18e39913d41ca4d63e9e94a2ad25b5ea31caaa7f
tree7ebb8f57bc736172e92f573c26d1c933e5347d99
parent585b7747d63e3a5f65628d21c1745edd926d7897
[PATCH] Fix spurious error on TAGS target when missing defconfig

Not all architectures have a file named 'defconfig' (e.g.  powerpc).
However the make TAGS and make tags targets search such files for tags,
causing an error message when they don't exist.  This patch addresses the
problem by instructing xargs not to run the tags program if there are no
matching files.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Makefile