kbuild: use boolean macros to select tegra*-common directory
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 31 Mar 2014 04:29:48 +0000 (13:29 +0900)
committerTom Rini <trini@ti.com>
Thu, 17 Apr 2014 21:44:35 +0000 (17:44 -0400)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/arm/cpu/Makefile

index b2d30b1a727846d3e90e8bb904ddf953408ad87f..35d8d387bd00343438b9a7eb62a895740ebfb5c5 100644 (file)
@@ -1,3 +1,6 @@
 obj-$(CONFIG_AT91FAMILY) += at91-common/
-obj-$(CONFIG_TEGRA) += $(SOC)-common/
+obj-$(CONFIG_TEGRA20) += tegra20-common/
+obj-$(CONFIG_TEGRA30) += tegra30-common/
+obj-$(CONFIG_TEGRA114) += tegra114-common/
+obj-$(CONFIG_TEGRA124) += tegra124-common/
 obj-$(CONFIG_TEGRA) += tegra-common/