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