patch-2.3.32 linux/drivers/char/Makefile

Next file: linux/drivers/char/agp/Makefile
Previous file: linux/drivers/char/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.31/linux/drivers/char/Makefile linux/drivers/char/Makefile
@@ -636,9 +636,15 @@
   endif
 endif
 
-ifeq ($(CONFIG_AGP), m)
+ifeq ($(CONFIG_AGP), y)
+  SUB_DIRS += agp
   ALL_SUB_DIRS += agp
   MOD_SUB_DIRS += agp
+else
+  ifeq ($(CONFIG_AGP), m)
+    ALL_SUB_DIRS += agp
+    MOD_SUB_DIRS += agp
+  endif
 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)