[PATCH] mips: fix build with O=...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From b96ea542b6786a44ab1a70d53a2796bd0d60b521 Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Mon, 31 May 2010 19:58:18 +0200
Subject: [PATCH] mips: fix build with O=...

The newly added platform support introduced
a regression so build with O=... failed.

Fix this by prefixing Makefile include paths with $(srctree).

Reported-by: Manuel Lauss <manuel.lauss@xxxxxxxxxxxxxx>
Cc: Manuel Lauss <manuel.lauss@xxxxxxxxxxxxxx>
Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
---

Hi Manuel.
Thanks for testing and reporting so quick.
The following fixed it for me - I tried only the ar7 platfrom.
And do not hesitate to ask if you hit troubles converting your
platform.

Note: On top of my tree since git did not see the
git tree posted by Ralf as a git tree?!?

	Sam

 arch/mips/Kbuild.platforms |    2 +-
 arch/mips/Makefile         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms
index 932f268..681b2d4 100644
--- a/arch/mips/Kbuild.platforms
+++ b/arch/mips/Kbuild.platforms
@@ -3,4 +3,4 @@
 platforms += ar7
 
 # include the platform specific files
-include $(patsubst %, arch/mips/%/Platform, $(platforms))
+include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms))
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index c2e1068..ff71a54 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -209,7 +209,7 @@ endif
 #
 # Board-dependent options and extra files
 #
-include arch/mips/Kbuild.platforms
+include $(srctree)/arch/mips/Kbuild.platforms
 
 #
 # Acer PICA 61, Mips Magnum 4000 and Olivetti M700.
-- 
1.6.0.6




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux