diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-10-17 08:34:50 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-10-31 16:53:39 (GMT) |
commit | 833db7405a3c8c5ed12e067717c1feb05003bbab (patch) | |
tree | 44c2fae36e64259e46f67f64536fb4118df3e1a8 /arch/arm/cpu/arm920t/Makefile | |
parent | d8769c62c1f48818725c9741c275299b4cb86b19 (diff) | |
download | u-boot-fsl-qoriq-833db7405a3c8c5ed12e067717c1feb05003bbab.tar.xz |
arm920t: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/arm920t/Makefile')
-rw-r--r-- | arch/arm/cpu/arm920t/Makefile | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/arch/arm/cpu/arm920t/Makefile b/arch/arm/cpu/arm920t/Makefile index 4758f02..aac8043 100644 --- a/arch/arm/cpu/arm920t/Makefile +++ b/arch/arm/cpu/arm920t/Makefile @@ -5,29 +5,7 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk +extra-y = start.o -LIB = $(obj)lib$(CPU).o - -START = start.o - -COBJS-y += cpu.o -COBJS-$(CONFIG_USE_IRQ) += interrupts.o - -SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS-y:.o=.c) -OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS)) -START := $(addprefix $(obj),$(START)) - -all: $(obj).depend $(START) $(LIB) - -$(LIB): $(OBJS) - $(call cmd_link_o_target, $(OBJS)) - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### +obj-y += cpu.o +obj-$(CONFIG_USE_IRQ) += interrupts.o |