1# 2# Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de> 3# 4# (C) Copyright 2008-2009 Freescale Semiconductor, Inc. 5# 6# SPDX-License-Identifier: GPL-2.0+ 7# 8 9include $(TOPDIR)/config.mk 10 11LIB = $(obj)lib$(BOARD).o 12 13COBJS := flea3.o 14SOBJS := lowlevel_init.o 15 16SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 17OBJS := $(addprefix $(obj),$(COBJS)) 18SOBJS := $(addprefix $(obj),$(SOBJS)) 19 20$(LIB): $(obj).depend $(OBJS) $(SOBJS) 21 $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 22 23clean: 24 rm -f $(SOBJS) $(OBJS) 25 26distclean: clean 27 rm -f $(LIB) core *.bak .depend 28 29######################################################################### 30 31# defines $(obj).depend target 32include $(SRCTREE)/rules.mk 33 34sinclude $(obj).depend 35 36######################################################################### 37