u-boot/arch/powerpc/cpu/74xx_7xx/Makefile

36 lines
816 B
Makefile
Raw Normal View History

2002-02-17 23:22:29 +00:00
#
# (C) Copyright 2006
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
2002-02-17 23:22:29 +00:00
# (C) Copyright 2001
# Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
#
# SPDX-License-Identifier: GPL-2.0+
2002-02-17 23:22:29 +00:00
#
include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).o
2002-02-17 23:22:29 +00:00
START = start.o
SOBJS = cache.o kgdb.o io.o
COBJS = traps.o cpu.o cpu_init.o speed.o interrupts.o
SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
START := $(addprefix $(obj),$(START))
2002-02-17 23:22:29 +00:00
all: $(obj).depend $(START) $(LIB)
2002-02-17 23:22:29 +00:00
$(LIB): $(OBJS)
$(call cmd_link_o_target, $(OBJS))
2002-02-17 23:22:29 +00:00
#########################################################################
# defines $(obj).depend target
include $(SRCTREE)/rules.mk
2002-02-17 23:22:29 +00:00
sinclude $(obj).depend
2002-02-17 23:22:29 +00:00
#########################################################################