blob: 3aaf7579345f18ef33610f9f4040a0aecde24738 [file] [log] [blame]
Dave Liue732e9c2006-11-03 12:11:15 -06001#
2# Copyright (C) 2006 Freescale Semiconductor, Inc.
3#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Dave Liue732e9c2006-11-03 12:11:15 -06005#
6
7include $(TOPDIR)/config.mk
8
Sebastien Carliera8d426f2010-11-05 15:48:07 +01009LIB := $(obj)libqe.o
Dave Liue732e9c2006-11-03 12:11:15 -060010
Sebastien Carlier331f4c32010-11-18 12:06:46 +010011COBJS-$(and $(CONFIG_QE),$(CONFIG_OF_LIBFDT)) += fdt.o
Jean-Christophe PLAGNIOL-VILLARDdd876412008-08-13 01:40:41 +020012COBJS-$(CONFIG_QE) += qe.o uccf.o uec.o uec_phy.o
Dave Liue732e9c2006-11-03 12:11:15 -060013
Jean-Christophe PLAGNIOL-VILLARDdd876412008-08-13 01:40:41 +020014COBJS := $(COBJS-y)
Wolfgang Denka1be4762008-05-20 16:00:29 +020015SRCS := $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
Dave Liue732e9c2006-11-03 12:11:15 -060017
18all: $(LIB)
19
20$(LIB): $(obj).depend $(OBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010021 $(call cmd_link_o_target, $(OBJS))
Dave Liue732e9c2006-11-03 12:11:15 -060022
23#########################################################################
24
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################