]>
Commit | Line | Data |
---|---|---|
64fdf452 SB |
1 | # |
2 | # (C) Copyright 2000-2006 | |
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
4 | # | |
5 | # (C) Copyright 2009 Freescale Semiconductor, Inc. | |
6 | # | |
1a459660 | 7 | # SPDX-License-Identifier: GPL-2.0+ |
64fdf452 SB |
8 | # |
9 | ||
10 | include $(TOPDIR)/config.mk | |
11 | ||
6d8962e8 | 12 | LIB = $(obj)lib$(SOC).o |
64fdf452 | 13 | |
ba5dfc11 | 14 | COBJS = soc.o clock.o |
64fdf452 SB |
15 | SOBJS = lowlevel_init.o |
16 | ||
17 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) | |
18 | OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) | |
19 | ||
20 | all: $(obj).depend $(LIB) | |
21 | ||
22 | $(LIB): $(OBJS) | |
6d8962e8 | 23 | $(call cmd_link_o_target, $(OBJS)) |
64fdf452 SB |
24 | |
25 | ######################################################################### | |
26 | ||
27 | # defines $(obj).depend target | |
28 | include $(SRCTREE)/rules.mk | |
29 | ||
30 | sinclude $(obj).depend | |
31 | ||
32 | ######################################################################### |