Re: [PATCH] SCSI: make pcmcia directory use obj-y|m instead of subdir-y|m

From: Sam Ravnborg
Date: Fri Dec 07 2007 - 11:04:28 EST


On Fri, Dec 07, 2007 at 10:36:23PM +0900, Tejun Heo wrote:
> subdir-y|m isn't supposed to contain modules or built-in components.
> Change subdir-$(CONFIG_PCMCIA) to obj-$(CONFIG_PCMCIA).
>
> Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>
> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxx>
Ack-by: Sam Ravnborg <sam@xxxxxxxxxxxx>

> ---
> drivers/scsi/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile
> index 2e6129f..72c8d2e 100644
> --- a/drivers/scsi/Makefile
> +++ b/drivers/scsi/Makefile
> @@ -18,7 +18,7 @@ CFLAGS_aha152x.o = -DAHA152X_STAT -DAUTOCONF
> CFLAGS_gdth.o = # -DDEBUG_GDTH=2 -D__SERIAL__ -D__COM2__ -DGDTH_STATISTICS
> CFLAGS_seagate.o = -DARBITRATE -DPARITY -DSEAGATE_USE_ASM
>
> -subdir-$(CONFIG_PCMCIA) += pcmcia
> +obj-$(CONFIG_PCMCIA) += pcmcia/
>
> obj-$(CONFIG_SCSI) += scsi_mod.o
> obj-$(CONFIG_SCSI_TGT) += scsi_tgt.o
--
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/