summaryrefslogtreecommitdiffstats
path: root/drivers/zorro/Makefile
blob: 8e14649b267a674e6cb4a3290f27f84ce2cbaafc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# Makefile for the Zorro bus specific 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 definition is now inherited from the
# parent makefile.
#

L_TARGET := zorro.a

# Nasty trick as we need to link files with no references from the outside.
O_TARGET := zorro_core.o
L_OBJS   := zorro_core.o
OX_OBJS   := zorro.o

ifdef CONFIG_PROC_FS
O_OBJS   += proc.o
endif

L_OBJS   += names.o

include $(TOPDIR)/Rules.make