[U-Boot] [PATCH] kbuild: use boolean macros to select tegra*-common directory

Masahiro Yamada yamada.m at jp.panasonic.com
Mon Mar 31 06:29:48 CEST 2014


Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---
 arch/arm/cpu/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile
index b2d30b1..35d8d38 100644
--- a/arch/arm/cpu/Makefile
+++ b/arch/arm/cpu/Makefile
@@ -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/
-- 
1.8.3.2



More information about the U-Boot mailing list