Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755338AbZCJNDr (ORCPT ); Tue, 10 Mar 2009 09:03:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754857AbZCJNDS (ORCPT ); Tue, 10 Mar 2009 09:03:18 -0400 Received: from cmpxchg.org ([85.214.51.133]:38756 "EHLO cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753676AbZCJNDR (ORCPT ); Tue, 10 Mar 2009 09:03:17 -0400 Message-Id: <20090310120631.160251771@emlix.com> References: <20090310115643.653120649@emlix.com> User-Agent: quilt/0.46-1 Date: Tue, 10 Mar 2009 12:56:45 +0100 From: Johannes Weiner To: Chris Zankel Cc: Oskar Schirmer , Daniel Gloeckner , linux-kernel@vger.kernel.org Subject: [patch 2/8] xtensa: variant-specific code Content-Disposition: inline; filename=0002-xtensa-variant-specific-code.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1314 Lines: 43 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 --- 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 -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/