2006-11-01 09:44:42 +09:00
|
|
|
#
|
2009-07-29 11:49:52 +09:00
|
|
|
# Copyright (C) Freescale Semiconductor, Inc. 2006.
|
2006-11-01 09:44:42 +09:00
|
|
|
#
|
2013-07-08 16:37:19 +09:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2006-11-01 09:44:42 +09:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 23:48:07 +09:00
|
|
|
LIB = $(obj)lib$(BOARD).o
|
2006-11-01 09:44:42 +09:00
|
|
|
|
2009-07-19 08:42:13 +09:00
|
|
|
COBJS-y += $(BOARD).o
|
|
|
|
COBJS-$(CONFIG_PCI) += pci.o
|
2006-11-01 09:44:42 +09:00
|
|
|
|
2009-07-19 08:42:13 +09:00
|
|
|
COBJS := $(COBJS-y)
|
2006-11-01 09:44:42 +09:00
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 23:48:07 +09:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2006-11-01 09:44:42 +09:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|