Re: make help ARCH=xx fun

From: Tom Rini
Date: Wed Feb 25 2004 - 13:42:59 EST


On Wed, Feb 25, 2004 at 01:30:38PM -0500, Paul Mundt wrote:
> On Wed, Feb 25, 2004 at 11:08:59AM -0700, Tom Rini wrote:
> > I can understand that. How about:
> > for board in arch/$(ARCH)/configs/*defconfig; \
> > do \
> > if [ -f $board ]; then
> > ...
> > fi
> > done
> >
> Simply just matching on *defconfig should be fine. I already changed this on
> matching defconfig-* for sh to get around matching SCCS.

Would you mind changing to foo_defconfig from defconfig-foo ? Then you
get the make foo_defconfig rule for free.

--
Tom Rini
http://gate.crashing.org/~trini/
-
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/