2007-11-20 19:33:09 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2007
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2007-11-20 19:33:09 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB := $(obj)libpcmcia.o
|
2007-11-20 19:33:09 +00:00
|
|
|
|
2008-05-18 17:09:49 +00:00
|
|
|
COBJS-$(CONFIG_I82365) += i82365.o
|
2009-01-30 01:02:23 +00:00
|
|
|
COBJS-$(CONFIG_8xx) += mpc8xx_pcmcia.o
|
2007-11-20 19:33:09 +00:00
|
|
|
COBJS-y += rpx_pcmcia.o
|
2008-05-18 17:09:52 +00:00
|
|
|
COBJS-$(CONFIG_IDE_TI_CARDBUS) += ti_pci1410a.o
|
2007-11-20 19:33:09 +00:00
|
|
|
COBJS-y += tqm8xx_pcmcia.o
|
2008-05-18 17:09:50 +00:00
|
|
|
COBJS-$(CONFIG_MARUBUN_PCCARD) += marubun_pcmcia.o
|
2007-11-20 19:33:09 +00:00
|
|
|
|
|
|
|
COBJS := $(COBJS-y)
|
2008-05-20 14:00:29 +00:00
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
2007-11-20 19:33:09 +00:00
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2007-11-20 19:33:09 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|