Re: [feedback discussion] Early boot debugging via FireWire (ohci1394_dma=early)

From: Stefan Richter
Date: Thu Dec 06 2007 - 14:23:36 EST


Bernhard Kaindl wrote:
> linux-2.6.24-rc4/drivers/Makefile:
...
> -obj-$(CONFIG_IEEE1394) += ieee1394/
> +obj-y += ieee1394/
...
> The reason for adding it was that drivers/ieee1394/init_ohci1394_dma.c
> does not get compiled if CONFIG_IEEE1394 is not set, but it's not really
> depeding on CONFIG_IEEE1394 being set.

>From what I gather from e.g. drivers/usb/Makefile, you could do it also
this way:

obj-$(CONFIG_IEEE1394) += ieee1394/
+obj-$(CONFIG_PROVIDE_OHCI1394_DMA_INIT) += ieee1394/

--
Stefan Richter
-=====-=-=== ==-- --==-
http://arcgraph.de/sr/
--
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/