| # |
| # Copyright 2013 Freescale Semiconductor, Inc. |
| # |
| # SPDX-License-Identifier: GPL-2.0+ |
| # |
| |
| include $(TOPDIR)/config.mk |
| |
| LIB = $(obj)lib$(SOC).o |
| |
| COBJS += generic.o |
| COBJS += timer.o |
| |
| SRCS := $(COBJS:.o=.c) |
| OBJS := $(addprefix $(obj),$(COBJS)) |
| |
| all: $(obj).depend $(LIB) |
| |
| $(LIB): $(OBJS) |
| $(call cmd_link_o_target, $(OBJS)) |
| |
| ######################################################################### |
| |
| # defines $(obj).depend target |
| include $(SRCTREE)/rules.mk |
| |
| sinclude $(obj).depend |
| |
| ######################################################################### |