From 37d82beb57fa5ff2cee42b7caebfbb9f6c2c3f42 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 17 Oct 2013 20:38:54 +0900 Subject: ARM: tegra: move Tegra specific code under arch/arm/ This patch moves Tegra specific directory entries from the toplevel Makefile and spl/Makefile to arch/arm/cpu/*/Makefile using Kbuild descending feature. Signed-off-by: Masahiro Yamada Cc: Tom Warren --- spl/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'spl') diff --git a/spl/Makefile b/spl/Makefile index d24c1cd..d3dc511 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -109,11 +109,7 @@ ifneq (,$(CONFIG_MX23)$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35)) LIBS-y += arch/$(ARCH)/imx-common/libimx-common.o endif -ifneq ($(CONFIG_TEGRA),) -LIBS-y += arch/$(ARCH)/cpu/$(SOC)-common/lib$(SOC)-common.o -LIBS-y += arch/$(ARCH)/cpu/tegra-common/libcputegra-common.o -LIBS-y += $(CPUDIR)/tegra-common/libtegra-common.o -endif +LIBS-$(CONFIG_ARM) += arch/arm/cpu/libcpu.o ifneq ($(CONFIG_MX23)$(CONFIG_MX35),) LIBS-y += arch/$(ARCH)/imx-common/libimx-common.o -- cgit v1.1