2.4.1, slhc as a module

From: Philip Blundell (philb@gnu.org)
Date: Sun Feb 11 2001 - 15:02:16 EST


The makefile in drivers/net goes like this:

obj-$(CONFIG_SLIP) += slip.o
ifeq ($(CONFIG_SLIP),y)
  obj-$(CONFIG_SLIP_COMPRESSED) += slhc.o
else
  ifeq ($(CONFIG_SLIP),m)
    obj-$(CONFIG_SLIP_COMPRESSED) += slhc.o
  endif
endif

CONFIG_SLIP_COMPRESSED is a `bool' value. The way the makefile is written,
selecting compression will always build slhc.o into the kernel, even if SLIP
is a module. This doesn't seem like the way it ought to work.

p.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:17 EST