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 <yamada.m@jp.panasonic.com> Cc: Tom Warren <TWarren@nvidia.com>
This commit is contained in:
committed by
Tom Rini
parent
e82004bc68
commit
37d82beb57
6
Makefile
6
Makefile
@@ -314,11 +314,7 @@ endif
|
||||
ifeq ($(SOC),exynos)
|
||||
LIBS-y += $(CPUDIR)/s5p-common/libs5p-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
|
||||
|
||||
LIBS := $(addprefix $(obj),$(sort $(LIBS-y)))
|
||||
.PHONY : $(LIBS)
|
||||
|
||||
Reference in New Issue
Block a user