patch-2.4.22 linux-2.4.22/drivers/net/ibm_emac/Makefile

Next file: linux-2.4.22/drivers/net/ibm_emac/ibm_emac.h
Previous file: linux-2.4.22/drivers/net/ibm_emac/Config.in
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/net/ibm_emac/Makefile linux-2.4.22/drivers/net/ibm_emac/Makefile
@@ -0,0 +1,26 @@
+#
+# Makefile for the On-chip  ethernet drivers
+#
+# Note! Dependencies are done automagically by 'make dep', which also
+# removes any old dependencies. DON'T put your own dependencies here
+# unless it's something special (ie not a .c file).
+#
+# Note 2! The CFLAGS definitions are now in the main makefile...
+
+
+obj-y   := 
+obj-m   := 
+
+O_TARGET := ocp.o
+
+# Module support doesn't work yet.
+export-objs     := 
+
+obj-$(CONFIG_IBM_OCP_ENET) += ibm_ocp_enet.o ibm_ocp_phy.o ibm_ocp_mal.o
+
+# Only need this if you want to see additional debug messages
+ifeq ($(CONFIG_IBM_OCP_ENET_ERROR_MSG), y)
+obj-$(CONFIG_IBM_OCP_ENET) += ibm_ocp_debug.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)