]>
Commit | Line | Data |
---|---|---|
570c0186 TL |
1 | # |
2 | # (C) Copyright 2000-2004 | |
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
4 | # | |
1a459660 | 5 | # SPDX-License-Identifier: GPL-2.0+ |
570c0186 TL |
6 | # |
7 | ||
8 | include $(TOPDIR)/config.mk | |
9 | ||
10 | # CFLAGS += -DET_DEBUG | |
11 | ||
aa2bd9b0 | 12 | LIB = $(obj)lib$(CPU).o |
570c0186 TL |
13 | |
14 | START = | |
15 | COBJS = cpu.o speed.o cpu_init.o pci.o interrupts.o slicetimer.o | |
16 | ||
17 | SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c) | |
18 | OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) | |
19 | START := $(addprefix $(obj),$(START)) | |
20 | ||
21 | all: $(obj).depend $(START) $(LIB) | |
22 | ||
23 | $(LIB): $(OBJS) | |
6d8962e8 | 24 | $(call cmd_link_o_target, $(OBJS)) |
570c0186 TL |
25 | |
26 | ######################################################################### | |
27 | ||
28 | include $(SRCTREE)/rules.mk | |
29 | ||
30 | sinclude $(obj).depend | |
31 | ||
32 | ######################################################################### |