Jean-Christophe PLAGNIOL-VILLARD | e77f5b8 | 2007-11-20 20:33:09 +0100 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2000-2007 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Jean-Christophe PLAGNIOL-VILLARD | e77f5b8 | 2007-11-20 20:33:09 +0100 | [diff] [blame] | 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/config.mk |
| 9 | |
Sebastien Carlier | a8d426f | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 10 | LIB := $(obj)libpcmcia.o |
Jean-Christophe PLAGNIOL-VILLARD | e77f5b8 | 2007-11-20 20:33:09 +0100 | [diff] [blame] | 11 | |
Jean-Christophe PLAGNIOL-VILLARD | be017b2 | 2008-05-18 19:09:49 +0200 | [diff] [blame] | 12 | COBJS-$(CONFIG_I82365) += i82365.o |
Mike Frysinger | 7868ef8 | 2009-01-29 20:02:23 -0500 | [diff] [blame] | 13 | COBJS-$(CONFIG_8xx) += mpc8xx_pcmcia.o |
Jean-Christophe PLAGNIOL-VILLARD | e77f5b8 | 2007-11-20 20:33:09 +0100 | [diff] [blame] | 14 | COBJS-y += rpx_pcmcia.o |
Jean-Christophe PLAGNIOL-VILLARD | 9fcc1ac | 2008-05-18 19:09:52 +0200 | [diff] [blame] | 15 | COBJS-$(CONFIG_IDE_TI_CARDBUS) += ti_pci1410a.o |
Jean-Christophe PLAGNIOL-VILLARD | e77f5b8 | 2007-11-20 20:33:09 +0100 | [diff] [blame] | 16 | COBJS-y += tqm8xx_pcmcia.o |
Jean-Christophe PLAGNIOL-VILLARD | 1ec80fa | 2008-05-18 19:09:50 +0200 | [diff] [blame] | 17 | COBJS-$(CONFIG_MARUBUN_PCCARD) += marubun_pcmcia.o |
Jean-Christophe PLAGNIOL-VILLARD | e77f5b8 | 2007-11-20 20:33:09 +0100 | [diff] [blame] | 18 | |
| 19 | COBJS := $(COBJS-y) |
Wolfgang Denk | a1be476 | 2008-05-20 16:00:29 +0200 | [diff] [blame] | 20 | SRCS := $(COBJS:.o=.c) |
| 21 | OBJS := $(addprefix $(obj),$(COBJS)) |
Jean-Christophe PLAGNIOL-VILLARD | e77f5b8 | 2007-11-20 20:33:09 +0100 | [diff] [blame] | 22 | |
| 23 | all: $(LIB) |
| 24 | |
| 25 | $(LIB): $(obj).depend $(OBJS) |
Sebastien Carlier | a8d426f | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 26 | $(call cmd_link_o_target, $(OBJS)) |
Jean-Christophe PLAGNIOL-VILLARD | e77f5b8 | 2007-11-20 20:33:09 +0100 | [diff] [blame] | 27 | |
| 28 | ######################################################################### |
| 29 | |
| 30 | # defines $(obj).depend target |
| 31 | include $(SRCTREE)/rules.mk |
| 32 | |
| 33 | sinclude $(obj).depend |
| 34 | |
| 35 | ######################################################################### |