2007-11-24 20:17:55 +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-24 20:17:55 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB := $(obj)libmisc.o
|
2007-11-24 20:17:55 +00:00
|
|
|
|
2008-08-12 23:40:40 +00:00
|
|
|
COBJS-$(CONFIG_ALI152X) += ali512x.o
|
2008-12-17 22:36:22 +00:00
|
|
|
COBJS-$(CONFIG_DS4510) += ds4510.o
|
2012-10-12 18:48:47 +00:00
|
|
|
COBJS-$(CONFIG_CBMEM_CONSOLE) += cbmem_console.o
|
2013-05-15 10:27:28 +00:00
|
|
|
COBJS-$(CONFIG_CROS_EC) += cros_ec.o
|
2013-05-15 10:27:31 +00:00
|
|
|
COBJS-$(CONFIG_CROS_EC_LPC) += cros_ec_lpc.o
|
2013-05-15 10:27:29 +00:00
|
|
|
COBJS-$(CONFIG_CROS_EC_I2C) += cros_ec_i2c.o
|
2013-05-15 10:27:30 +00:00
|
|
|
COBJS-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o
|
2013-04-23 10:17:41 +00:00
|
|
|
COBJS-$(CONFIG_FSL_IIM) += fsl_iim.o
|
2010-04-30 03:34:14 +00:00
|
|
|
COBJS-$(CONFIG_GPIO_LED) += gpio_led.o
|
2011-01-19 22:46:29 +00:00
|
|
|
COBJS-$(CONFIG_FSL_MC9SDZ60) += mc9sdz60.o
|
2013-04-23 10:17:44 +00:00
|
|
|
COBJS-$(CONFIG_MXC_OCOTP) += mxc_ocotp.o
|
2008-08-12 23:40:40 +00:00
|
|
|
COBJS-$(CONFIG_NS87308) += ns87308.o
|
2011-01-19 22:46:29 +00:00
|
|
|
COBJS-$(CONFIG_PDSP188x) += pdsp188x.o
|
2008-08-12 23:40:40 +00:00
|
|
|
COBJS-$(CONFIG_STATUS_LED) += status_led.o
|
2009-06-28 17:52:30 +00:00
|
|
|
COBJS-$(CONFIG_TWL4030_LED) += twl4030_led.o
|
2007-11-24 20:17:55 +00:00
|
|
|
|
|
|
|
COBJS := $(COBJS-y)
|
2008-05-20 14:00:29 +00:00
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
2007-11-24 20:17:55 +00:00
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2007-11-24 20:17:55 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|