blob: 80a132eb4be8fb6a7517f79e9bb732a6fc821c4a [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARDe77f5b82007-11-20 20:33:09 +01001#
2# (C) Copyright 2000-2007
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Jean-Christophe PLAGNIOL-VILLARDe77f5b82007-11-20 20:33:09 +01006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB := $(obj)libpcmcia.o
Jean-Christophe PLAGNIOL-VILLARDe77f5b82007-11-20 20:33:09 +010011
Jean-Christophe PLAGNIOL-VILLARDbe017b22008-05-18 19:09:49 +020012COBJS-$(CONFIG_I82365) += i82365.o
Mike Frysinger7868ef82009-01-29 20:02:23 -050013COBJS-$(CONFIG_8xx) += mpc8xx_pcmcia.o
Jean-Christophe PLAGNIOL-VILLARDe77f5b82007-11-20 20:33:09 +010014COBJS-y += rpx_pcmcia.o
Jean-Christophe PLAGNIOL-VILLARD9fcc1ac2008-05-18 19:09:52 +020015COBJS-$(CONFIG_IDE_TI_CARDBUS) += ti_pci1410a.o
Jean-Christophe PLAGNIOL-VILLARDe77f5b82007-11-20 20:33:09 +010016COBJS-y += tqm8xx_pcmcia.o
Jean-Christophe PLAGNIOL-VILLARD1ec80fa2008-05-18 19:09:50 +020017COBJS-$(CONFIG_MARUBUN_PCCARD) += marubun_pcmcia.o
Jean-Christophe PLAGNIOL-VILLARDe77f5b82007-11-20 20:33:09 +010018
19COBJS := $(COBJS-y)
Wolfgang Denka1be4762008-05-20 16:00:29 +020020SRCS := $(COBJS:.o=.c)
21OBJS := $(addprefix $(obj),$(COBJS))
Jean-Christophe PLAGNIOL-VILLARDe77f5b82007-11-20 20:33:09 +010022
23all: $(LIB)
24
25$(LIB): $(obj).depend $(OBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010026 $(call cmd_link_o_target, $(OBJS))
Jean-Christophe PLAGNIOL-VILLARDe77f5b82007-11-20 20:33:09 +010027
28#########################################################################
29
30# defines $(obj).depend target
31include $(SRCTREE)/rules.mk
32
33sinclude $(obj).depend
34
35#########################################################################