patch-2.3.15 linux/drivers/video/Makefile

Next file: linux/drivers/video/S3triofb.c
Previous file: linux/drivers/video/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/drivers/video/Makefile linux/drivers/video/Makefile
@@ -82,6 +82,11 @@
 ifeq ($(CONFIG_FB_PM2),y)
 L_OBJS += pm2fb.o
 CONFIG_FBGEN_BUILTIN = y
+else
+  ifeq ($(CONFIG_FB_PM2),m)
+  M_OBJS += pm2fb.o
+  CONFIG_FBGEN_MODULE = y
+  endif
 endif
 
 ifeq ($(CONFIG_FB_APOLLO),y)

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