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

Stefan Richter
2007-12-06T19:23:33Z

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
-=====-=-=== ==-- --==-