blob: 7b88ecc149d2e04dbd4c3f617763b1e69bb2dfa1 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# File: drivers/fc4/Makefile
#
# Makefile for the Linux Fibre Channel device drivers.
#
L_TARGET := fc4.a
M_OBJS :=
MOD_LIST_NAME := FC4_MODULES
ifeq ($(CONFIG_FC4),y)
FC4 = fc.o
ifeq ($(CONFIG_MODULES),y)
O_TARGET := fc_n_syms.o
O_OBJS := fc.o
OX_OBJS := fc_syms.o
FC4 := $(O_TARGET)
endif
L_OBJS += $(FC4)
else
ifeq ($(CONFIG_FC4),m)
MIX_OBJS += fc_syms.o
M_OBJS += fc4.o
endif
endif
ifeq ($(CONFIG_FC4_SOC),y)
L_OBJS += soc.o
else
ifeq ($(CONFIG_FC4_SOC),m)
M_OBJS += soc.o
endif
endif
ifeq ($(CONFIG_FC4_SOCAL),y)
L_OBJS += socal.o
else
ifeq ($(CONFIG_FC4_SOCAL),m)
M_OBJS += socal.o
endif
endif
include $(TOPDIR)/Rules.make
fc4.o: $(MIX_OBJS) fc.o
$(LD) $(LD_RFLAG) -r -o $@ $(MIX_OBJS) fc.o
|