]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/pcmcia/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[karo-tx-uboot.git] / drivers / pcmcia / Makefile
1 #
2 # (C) Copyright 2000-2007
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9
10 LIB     := $(obj)libpcmcia.o
11
12 COBJS-$(CONFIG_I82365) += i82365.o
13 COBJS-$(CONFIG_8xx) += mpc8xx_pcmcia.o
14 COBJS-y += rpx_pcmcia.o
15 COBJS-$(CONFIG_IDE_TI_CARDBUS) += ti_pci1410a.o
16 COBJS-y += tqm8xx_pcmcia.o
17 COBJS-$(CONFIG_MARUBUN_PCCARD) += marubun_pcmcia.o
18
19 COBJS   := $(COBJS-y)
20 SRCS    := $(COBJS:.o=.c)
21 OBJS    := $(addprefix $(obj),$(COBJS))
22
23 all:    $(LIB)
24
25 $(LIB): $(obj).depend $(OBJS)
26         $(call cmd_link_o_target, $(OBJS))
27
28 #########################################################################
29
30 # defines $(obj).depend target
31 include $(SRCTREE)/rules.mk
32
33 sinclude $(obj).depend
34
35 #########################################################################