diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-10-21 11:53:35 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-01 11:42:12 -0400 |
commit | 64bd89e43778b488763f67fbb6bf79fc973e2892 (patch) | |
tree | 083351a13b27322fba129a906da0414c7cf291b4 /arch/m68k/lib/Makefile | |
parent | 3954b739b32de7c634b21496c229d30a085a19e2 (diff) | |
download | u-boot-imx-64bd89e43778b488763f67fbb6bf79fc973e2892.zip u-boot-imx-64bd89e43778b488763f67fbb6bf79fc973e2892.tar.gz u-boot-imx-64bd89e43778b488763f67fbb6bf79fc973e2892.tar.bz2 |
m68k: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Jason Jin <Jason.jin@freescale.com>
Diffstat (limited to 'arch/m68k/lib/Makefile')
-rw-r--r-- | arch/m68k/lib/Makefile | 33 |
1 files changed, 6 insertions, 27 deletions
diff --git a/arch/m68k/lib/Makefile b/arch/m68k/lib/Makefile index 48973fd..65867d6 100644 --- a/arch/m68k/lib/Makefile +++ b/arch/m68k/lib/Makefile @@ -5,30 +5,9 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(ARCH).o - -SOBJS-y += - -COBJS-y += board.o -COBJS-$(CONFIG_CMD_BOOTM) += bootm.o -COBJS-y += cache.o -COBJS-y += interrupts.o -COBJS-y += time.o -COBJS-y += traps.o - -SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) -OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) - -$(LIB): $(obj).depend $(OBJS) - $(call cmd_link_o_target, $(OBJS)) - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### +obj-y += board.o +obj-$(CONFIG_CMD_BOOTM) += bootm.o +obj-y += cache.o +obj-y += interrupts.o +obj-y += time.o +obj-y += traps.o |