]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - post/rules.mk
karo: tx48: only print message about cpu_clk, if it was actually changed
[karo-tx-uboot.git] / post / rules.mk
1 #
2 # (C) Copyright 2002-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9
10 COBJS   := $(COBJS-y)
11 AOBJS   := $(AOBJS-y)
12 SRCS    := $(AOBJS:.o=.S) $(COBJS:.o=.c)
13 OBJS    := $(addprefix $(obj),$(AOBJS) $(COBJS))
14 LIB     := $(obj)$(LIB)
15
16 CPPFLAGS += -I$(TOPDIR)
17
18 all:    $(LIB)
19
20 $(LIB): $(obj).depend $(OBJS)
21         $(call cmd_link_o_target, $(OBJS))
22
23 #########################################################################
24
25 # defines $(obj).depend target
26 include $(SRCTREE)/rules.mk
27
28 sinclude $(obj).depend
29
30 #########################################################################