]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/qe/Makefile
arm: mx5: clock: add support for changing CPU clock via cmdline
[karo-tx-uboot.git] / drivers / qe / Makefile
1 #
2 # Copyright (C) 2006 Freescale Semiconductor, Inc.
3 #
4 # SPDX-License-Identifier:      GPL-2.0+
5 #
6
7 include $(TOPDIR)/config.mk
8
9 LIB     := $(obj)libqe.o
10
11 COBJS-$(and $(CONFIG_QE),$(CONFIG_OF_LIBFDT)) += fdt.o
12 COBJS-$(CONFIG_QE) += qe.o uccf.o uec.o uec_phy.o
13
14 COBJS   := $(COBJS-y)
15 SRCS    := $(COBJS:.o=.c)
16 OBJS    := $(addprefix $(obj),$(COBJS))
17
18 all:    $(LIB)
19
20 $(LIB): $(obj).depend $(OBJS)
21         $(call cmd_link_o_target, $(OBJS))
22
23 #########################################################################
24
25 include $(SRCTREE)/rules.mk
26
27 sinclude $(obj).depend
28
29 #########################################################################