Re: [PATCH] more procfs bits for !CONFIG_MMU

From: Christoph Hellwig (hch@infradead.org)
Date: Thu Jan 02 2003 - 11:51:34 EST


On Thu, Jan 02, 2003 at 05:49:14PM +0100, Sam Ravnborg wrote:
> Ups, you are right. I thought about CONFIG_NOMMU..
> Should read:
> proc-y := proc_nommu.o
> proc-$(CONFIG_MMU) := proc_mmu.o
>
> If CONFIG_MMU is 'y', then the first assignment is overwritten.
>
> The same principle (pattern?), but with reversed logic.
> But this one is not that nice, because the common case overwrite the
> un-common case.

Yeah. Maybe we should add obj-no-$(CONFIG_FOO) & friends
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:17 EST