public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Weiner <jw@emlix.com>
To: Chris Zankel <chris@zankel.net>
Cc: Oskar Schirmer <os@emlix.com>, Daniel Gloeckner <dg@emlix.com>,
	linux-kernel@vger.kernel.org
Subject: [patch 2/8] xtensa: variant-specific code
Date: Tue, 10 Mar 2009 12:56:45 +0100	[thread overview]
Message-ID: <20090310120631.160251771@emlix.com> (raw)
In-Reply-To: 20090310115643.653120649@emlix.com

[-- Attachment #1: 0002-xtensa-variant-specific-code.patch --]
[-- Type: text/plain, Size: 1069 bytes --]

Allow the variant to provide own code.  Add empty dummy Makefiles for
the existing variants.

The s6000 has circuits that require own drivers.  Allow these to live
in the variant-specific directory.

Signed-off-by: Johannes Weiner <jw@emlix.com>
---
 arch/xtensa/Makefile                 |    3 +++
 arch/xtensa/variants/dc232b/Makefile |    1 +
 arch/xtensa/variants/fsf/Makefile    |    1 +
 3 files changed, 5 insertions(+)
 create mode 100644 arch/xtensa/variants/dc232b/Makefile
 create mode 100644 arch/xtensa/variants/fsf/Makefile

--- a/arch/xtensa/Makefile
+++ b/arch/xtensa/Makefile
@@ -68,6 +68,9 @@ LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS)
 
 head-y		:= arch/xtensa/kernel/head.o
 core-y		+= arch/xtensa/kernel/ arch/xtensa/mm/
+ifneq ($(VARIANT),)
+core-y		+= arch/xtensa/variants/$(VARIANT)/
+endif
 ifneq ($(PLATFORM),)
 core-y		+= arch/xtensa/platforms/$(PLATFORM)/
 endif
--- /dev/null
+++ b/arch/xtensa/variants/dc232b/Makefile
@@ -0,0 +1 @@
+# dc232b Makefile
--- /dev/null
+++ b/arch/xtensa/variants/fsf/Makefile
@@ -0,0 +1 @@
+# fsf Makefile

-- 


  parent reply	other threads:[~2009-03-10 13:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-10 13:11 [patch 0/8] xtensa: s6000 & s6105 Johannes Weiner
2009-03-10 11:56 ` [patch 1/8] xtensa: nommu support Johannes Weiner
2009-03-10 11:56 ` Johannes Weiner [this message]
2009-03-10 11:56 ` [patch 3/8] xtensa: variant irq set callbacks Johannes Weiner
2009-03-10 11:56 ` [patch 4/8] xtensa: s6000 variant core definitions Johannes Weiner
2009-03-10 11:56 ` [patch 5/8] xtensa: s6000 variant Johannes Weiner
2009-03-10 11:56 ` [patch 6/8] xtensa: s6000 gpio driver Johannes Weiner
2009-03-10 11:56 ` [patch 7/8] xtensa: let platform override KERNELOFFSET Johannes Weiner
2009-03-10 11:56 ` [patch 8/8] xtensa: platform stretch s6105 eval board Johannes Weiner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090310120631.160251771@emlix.com \
    --to=jw@emlix.com \
    --cc=chris@zankel.net \
    --cc=dg@emlix.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=os@emlix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox