2 # (C) Copyright 2000-2004
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 include $(TOPDIR
)/config.mk
10 # CFLAGS += -DET_DEBUG
12 LIB
= $(obj
)lib
$(CPU
).o
15 COBJS
= cpu.o speed.o cpu_init.o interrupts.o
17 SRCS
:= $(START
:.o
=.S
) $(SOBJS
:.o
=.S
) $(COBJS
:.o
=.c
)
18 OBJS
:= $(addprefix $(obj
),$(SOBJS
) $(COBJS
))
19 START
:= $(addprefix $(obj
),$(START
))
21 all: $(obj
).depend
$(START
) $(LIB
)
24 $(call cmd_link_o_target
, $(OBJS
))
26 #########################################################################
28 include $(SRCTREE
)/rules.mk
30 sinclude
$(obj
).depend
32 #########################################################################