| # |
| # Copyright (C) 2006 Freescale Semiconductor, Inc. |
| # |
| # SPDX-License-Identifier: GPL-2.0+ |
| # |
| |
| include $(TOPDIR)/config.mk |
| |
| LIB := $(obj)libqe.o |
| |
| COBJS-$(and $(CONFIG_QE),$(CONFIG_OF_LIBFDT)) += fdt.o |
| COBJS-$(CONFIG_QE) += qe.o uccf.o uec.o uec_phy.o |
| |
| COBJS := $(COBJS-y) |
| SRCS := $(COBJS:.o=.c) |
| OBJS := $(addprefix $(obj),$(COBJS)) |
| |
| all: $(LIB) |
| |
| $(LIB): $(obj).depend $(OBJS) |
| $(call cmd_link_o_target, $(OBJS)) |
| |
| ######################################################################### |
| |
| include $(SRCTREE)/rules.mk |
| |
| sinclude $(obj).depend |
| |
| ######################################################################### |