Re: [PATCH 04/18] [PATCH] BLOCK: Separate the bounce buffering code from the highmem code [try #4]

From: David Howells
Date: Tue Aug 29 2006 - 09:44:42 EST


Arnd Bergmann <arnd.bergmann@xxxxxxxxxx> wrote:

> You could write it as
>
> bounce-$(CONFIG_MMU) += bounce.o
> obj-$(CONFIG_BLOCK) += $(bounce-y)

I could, yes, but why? What does it buy? I think this:

ifeq ($(CONFIG_MMU)$(CONFIG_BLOCK),yy)
obj-y += bounce.o
endif

is clearer.

David
-
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/