]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: s5pc, exynos: move Samsung ARM SoC specific code under arch/arm/
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 17 Oct 2013 11:38:56 +0000 (20:38 +0900)
committerTom Rini <trini@ti.com>
Thu, 31 Oct 2013 17:26:44 +0000 (13:26 -0400)
This patch moves S5PC, EXYNOS specific directory entries
from the toplevel Makefile to arch/arm/cpu/armv7/Makefile
using Kbuild descending feature.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Makefile
arch/arm/cpu/armv7/Makefile
spl/Makefile

index c6a9c0deb97b2efa82dc1d781673320652d1535a..03389dd3ada59c09f87614c86a713eec3d2db767 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -304,12 +304,6 @@ ifneq (,$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35 mxs vf610))
 LIBS-y += arch/$(ARCH)/imx-common/libimx-common.o
 endif
 
-ifeq ($(SOC),s5pc1xx)
-LIBS-y += $(CPUDIR)/s5p-common/libs5p-common.o
-endif
-ifeq ($(SOC),exynos)
-LIBS-y += $(CPUDIR)/s5p-common/libs5p-common.o
-endif
 LIBS-$(CONFIG_ARM) += arch/arm/cpu/libcpu.o
 
 LIBS := $(addprefix $(obj),$(sort $(LIBS-y)))
index a5d5bf3b6c10574ffa3014f85f10cdf41fdf5ea1..d3347b375b8307c4ecd739bc95264d0b69142c97 100644 (file)
@@ -25,3 +25,7 @@ endif
 
 obj-$(CONFIG_OMAP_COMMON) += omap-common/
 obj-$(CONFIG_TEGRA) += tegra-common/
+
+ifneq (,$(filter s5pc1xx exynos,$(SOC)))
+obj-y += s5p-common/
+endif
index 8e7daa2d4a436d9fd2a6b11b275d55eb60890fc8..bf7271d2be5ac405b03e007fc53b64f883bdfe50 100644 (file)
@@ -111,10 +111,6 @@ ifneq ($(CONFIG_MX23)$(CONFIG_MX35),)
 LIBS-y += arch/$(ARCH)/imx-common/libimx-common.o
 endif
 
-ifeq ($(SOC),exynos)
-LIBS-y += $(CPUDIR)/s5p-common/libs5p-common.o
-endif
-
 # Add GCC lib
 ifeq ("$(USE_PRIVATE_LIBGCC)", "yes")
 PLATFORM_LIBGCC = $(SPLTREE)/arch/$(ARCH)/lib/libgcc.o