Re: [PATCH] Add mach-specific includes

From: Jan Engelhardt
Date: Sun Sep 09 2012 - 17:55:50 EST



On Friday 2012-08-31 15:45, Michal Marek wrote:
>> # Build header package
>> (cd $srctree; find . -name Makefile\* -o -name Kconfig\* -o -name \*.pl > "$objtree/debian/hdrsrcfiles")
>> (cd $srctree; find arch/$SRCARCH/include include scripts -type f >> "$objtree/debian/hdrsrcfiles")
>> +if echo arch/$SRCARCH/mach-*/include | grep q -v '*'; then
>
>This should probably be grep -q, but it's quite ugly anyway.

Use of -q should probably be preferred to >/dev/null,
because with the latter, you will still pay the price
of printf.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/