diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-10-17 17:34:48 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-10-31 12:53:39 -0400 |
commit | 4e1aa8437ae5baed2be79fff09aa70a293e61467 (patch) | |
tree | bf3e5a0840d46d016113456d310506a31a33327f /arch/arm/cpu/armv7/mx6 | |
parent | ce28d7ac6d64c8a730334c8584742cf7255ad318 (diff) |
armv7: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/armv7/mx6')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/Makefile | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/arch/arm/cpu/armv7/mx6/Makefile b/arch/arm/cpu/armv7/mx6/Makefile index 6d736174db..d7285fc2cc 100644 --- a/arch/arm/cpu/armv7/mx6/Makefile +++ b/arch/arm/cpu/armv7/mx6/Makefile @@ -7,26 +7,5 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(SOC).o - -COBJS-y = soc.o clock.o -COBJS-$(CONFIG_SECURE_BOOT) += hab.o - -SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) -OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y)) - -all: $(obj).depend $(LIB) - -$(LIB): $(OBJS) - $(call cmd_link_o_target, $(OBJS)) - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### +obj-y := soc.o clock.o +obj-$(CONFIG_SECURE_BOOT) += hab.o |