patch-2.3.39 linux/drivers/pnp/Makefile

Next file: linux/drivers/pnp/isapnp.c
Previous file: linux/drivers/pcmcia/yenta.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/drivers/pnp/Makefile linux/drivers/pnp/Makefile
@@ -12,18 +12,16 @@
 MOD_SUB_DIRS := $(SUB_DIRS)
 ALL_SUB_DIRS := $(SUB_DIRS)
 
-L_TARGET := pnp.a
-MX_OBJS  :=
-LX_OBJS  := 
-MI_OBJS  :=
-MIX_OBJS :=
+ifeq ($(CONFIG_ISAPNP),m)
+M_OBJS   := isa-pnp.o
+endif
 
-ifeq ($(CONFIG_ISAPNP),y)
-  LX_OBJS += isapnp.o quirks.o
-else
-  ifeq ($(CONFIG_ISAPNP),m)
-    MX_OBJS += isapnp.o quirks.o
-  endif
+O_TARGET := isa-pnp.o
+OX_OBJS  := isapnp.o
+O_OBJS   := quirks.o
+
+ifdef CONFIG_PROC_FS
+O_OBJS   += isapnp_proc.o
 endif
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)