2006-11-03 18:11:15 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 Freescale Semiconductor, Inc.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2006-11-03 18:11:15 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB := $(obj)libqe.o
|
2006-11-03 18:11:15 +00:00
|
|
|
|
2010-11-18 11:06:46 +00:00
|
|
|
COBJS-$(and $(CONFIG_QE),$(CONFIG_OF_LIBFDT)) += fdt.o
|
2008-08-12 23:40:41 +00:00
|
|
|
COBJS-$(CONFIG_QE) += qe.o uccf.o uec.o uec_phy.o
|
2006-11-03 18:11:15 +00:00
|
|
|
|
2008-08-12 23:40:41 +00:00
|
|
|
COBJS := $(COBJS-y)
|
2008-05-20 14:00:29 +00:00
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
2006-11-03 18:11:15 +00:00
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2006-11-03 18:11:15 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|