linux-mips
[Top] [All Lists]

[PATCH] MIPS: Fix build failure of msp71xx default configuration

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH] MIPS: Fix build failure of msp71xx default configuration
From: Shane McDonald <mcdonald.shane@gmail.com>
Date: Thu, 03 Jan 2013 21:40:03 -0600
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:message-id:to:subject:from; bh=dWuFON15dyQb57+zeH11EuVJTmhE2D6tcROiMI+DH1E=; b=SxcblVaq2PSZg+M/tLChFOmt3NcoKw7QwG6PPNHmYP+JpFzAiNOvhT6lres61Bkq3h dhEikKpOtvpN01Z5yEbxl76zIpQ9F3rMGpzr5s9soXS9IQirk952/Y90gmpVtQx6AXvb IJyfNpm5mWSLNRyHFPVc36bra77sSofSTRvAgLvKFsD+tpXiAmi5YeGwGABg/Qc8we0P RoLPnLTky8+0WUDqOY7PBXsX4MpFElN5ndoNbZIRS3I8k0ZMhhoXoHOkMpqBCYPp2p5w Yt7XEeUEehnPmnHO9bvaLHlNOB5tgraqSGIXKNG71KvVdC0QlzUtNkvHniX6ini55c4b 6LAg==
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Sender: linux-mips-bounce@linux-mips.org
The msp71xx default configuration fails to compile in Linux 3.8-rc2:

In file included from 
/home/shane/linux-mips/linux/arch/mips/include/asm/bitops.h:22,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/asm-generic/bug.h:13,
                 from 
/home/shane/linux-mips/linux/arch/mips/include/asm/bug.h:41,
                 from include/linux/bug.h:4,
                 from include/linux/page-flags.h:9,
                 from kernel/bounds.c:9:
/home/shane/linux-mips/linux/arch/mips/include/asm/war.h:12:17: error: war.h: 
No such file or directory

This is because the Platform file points at the incorrect include file
location, and therefore the war.h file cannot be found.

This patch changes the Platform file to point to the correct location.

Caused by a combination of the following lmo-only patches:

13a347ef60c68e490809dad8fcf79c25eabc4d58 [MIPS: MSP71xx: Move code.]
a89c0370cb5429891d49abcc66f93c63b43c7dbe
  [MIPS: Fix make distclean after moving the PMC-Sierra code.]

Signed-off-by: Shane McDonald <mcdonald.shane@gmail.com>
---
 arch/mips/pmcs-msp71xx/Platform |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/pmcs-msp71xx/Platform b/arch/mips/pmcs-msp71xx/Platform
index e42a4d6..9a86e29 100644
--- a/arch/mips/pmcs-msp71xx/Platform
+++ b/arch/mips/pmcs-msp71xx/Platform
@@ -2,6 +2,6 @@
 # PMC-Sierra MSP SOCs
 #
 platform-$(CONFIG_PMC_MSP)     += pmcs-msp71xx/
-cflags-$(CONFIG_PMC_MSP)       += 
-I$(srctree)/arch/mips/include/asm/pmc-sierra \
+cflags-$(CONFIG_PMC_MSP)       += 
-I$(srctree)/arch/mips/include/asm/pmc-sierra/msp71xx \
                                        -mno-branch-likely
 load-$(CONFIG_PMC_MSP)         += 0xffffffff80100000
-- 
1.7.2.5


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] MIPS: Fix build failure of msp71xx default configuration, Shane McDonald <=