summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-10-17 20:38:54 +0900
committerTom Rini <trini@ti.com>2013-10-31 13:26:44 -0400
commit37d82beb57fa5ff2cee42b7caebfbb9f6c2c3f42 (patch)
tree0bfea51031b27665ec385a026e7bb6d92e2f8407 /arch
parente82004bc68cba738b316897bd7a31191ab19f04f (diff)
downloadu-boot-imx-37d82beb57fa5ff2cee42b7caebfbb9f6c2c3f42.zip
u-boot-imx-37d82beb57fa5ff2cee42b7caebfbb9f6c2c3f42.tar.gz
u-boot-imx-37d82beb57fa5ff2cee42b7caebfbb9f6c2c3f42.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/Makefile2
-rw-r--r--arch/arm/cpu/arm720t/Makefile2
-rw-r--r--arch/arm/cpu/armv7/Makefile2
3 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile
new file mode 100644
index 0000000..fd0da53
--- /dev/null
+++ b/arch/arm/cpu/Makefile
@@ -0,0 +1,2 @@
+obj-$(CONFIG_TEGRA) += $(SOC)-common/
+obj-$(CONFIG_TEGRA) += tegra-common/
diff --git a/arch/arm/cpu/arm720t/Makefile b/arch/arm/cpu/arm720t/Makefile
index 243a123..6badb3b 100644
--- a/arch/arm/cpu/arm720t/Makefile
+++ b/arch/arm/cpu/arm720t/Makefile
@@ -7,3 +7,5 @@
extra-y = start.o
obj-y = interrupts.o cpu.o
+
+obj-$(CONFIG_TEGRA) += tegra-common/
diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile
index 8a8b602..2c17322 100644
--- a/arch/arm/cpu/armv7/Makefile
+++ b/arch/arm/cpu/armv7/Makefile
@@ -20,3 +20,5 @@ ifneq ($(CONFIG_ARMV7_NONSEC)$(CONFIG_ARMV7_VIRT),)
obj-y += nonsec_virt.o
obj-y += virt-v7.o
endif
+
+obj-$(CONFIG_TEGRA) += tegra-common/