1#
2# Makefile for the On-chip  ethernet drivers
3#
4# Note! Dependencies are done automagically by 'make dep', which also
5# removes any old dependencies. DON'T put your own dependencies here
6# unless it's something special (ie not a .c file).
7#
8# Note 2! The CFLAGS definitions are now in the main makefile...
9
10
11obj-y   :=
12obj-m   :=
13
14O_TARGET := ocp.o
15
16# Module support doesn't work yet.
17export-objs     :=
18
19obj-$(CONFIG_IBM_OCP_ENET) += ibm_ocp_enet.o ibm_ocp_phy.o ibm_ocp_mal.o
20
21# Only need this if you want to see additional debug messages
22ifeq ($(CONFIG_IBM_OCP_ENET_ERROR_MSG), y)
23obj-$(CONFIG_IBM_OCP_ENET) += ibm_ocp_debug.o
24endif
25
26include $(TOPDIR)/Rules.make
27