public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/06] ARM: mach-shmobile: Makefile update for old clock code
@ 2010-03-25  7:07 Magnus Damm
  0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2010-03-25  7:07 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm@opensource.se>

Update the main SH-Mobile ARM Makefile to only build
the old clock framework code when CONFIG_COMMON_CLKDEV
is set. This variable is always set at this point.

This change allows us to easily move over to the clock
framework code from the SH architecture. In the future
we can enable the new code by selecting a new Kconfig
variable and deselecting CONFIG_COMMON_CLKDEV in one
atomic commit.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 arch/arm/mach-shmobile/Makefile |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

--- 0001/arch/arm/mach-shmobile/Makefile
+++ work/arch/arm/mach-shmobile/Makefile	2010-03-25 12:45:59.000000000 +0900
@@ -6,9 +6,12 @@
 obj-y				:= timer.o console.o
 
 # CPU objects
-obj-$(CONFIG_ARCH_SH7367)	+= setup-sh7367.o clock-sh7367.o intc-sh7367.o
-obj-$(CONFIG_ARCH_SH7377)	+= setup-sh7377.o clock-sh7367.o intc-sh7377.o
-obj-$(CONFIG_ARCH_SH7372)	+= setup-sh7372.o clock-sh7367.o intc-sh7372.o
+obj-$(CONFIG_ARCH_SH7367)	+= setup-sh7367.o intc-sh7367.o
+obj-$(CONFIG_ARCH_SH7377)	+= setup-sh7377.o intc-sh7377.o
+obj-$(CONFIG_ARCH_SH7372)	+= setup-sh7372.o intc-sh7372.o
+
+# Clock framework
+obj-$(CONFIG_COMMON_CLKDEV)	+= clock-sh7367.o
 
 # Pinmux setup
 pfc-$(CONFIG_ARCH_SH7367)	:= pfc-sh7367.o

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-25  7:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-25  7:07 [PATCH 01/06] ARM: mach-shmobile: Makefile update for old clock code Magnus Damm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox