patch-2.4.4 linux/drivers/sgi/Makefile

Next file: linux/drivers/sgi/char/Makefile
Previous file: linux/drivers/scsi/wd7000.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/sgi/Makefile linux/drivers/sgi/Makefile
@@ -7,17 +7,13 @@
 #
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
-SUB_DIRS     :=
-MOD_SUB_DIRS := $(SUB_DIRS) char
-ALL_SUB_DIRS := $(SUB_DIRS) char
-
-
-L_OBJS   := 
 L_TARGET := sgi.a
 
+#
 # Character and Audio devices for SGI machines.
 #
-SUB_DIRS += char
-L_OBJS += char/sgichar.o
+subdir-y	+= char
+subdir-m	+= char
+obj-y		+= char/sgichar.o
 
 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)