Re: [PATCH] perf: fix MIPS build

From: Jiri Olsa
Date: Thu May 28 2015 - 08:03:33 EST


On Thu, May 28, 2015 at 01:46:13PM +0200, Rabin Vincent wrote:
> 5e8c0fb6a ("perf build: Add arch x86 objects building") added empty
> Build files to several architectures, but MIPS got left out. This leads
> to a build of perf for MIPS failing with the following errors:
>
> tools/build/Makefile.build:40: arch/mips/Build: No such file or directory
> make[4]: *** No rule to make target `arch/mips/Build'. Stop.
>
> Add an empty Build file to fix this.
>
> Signed-off-by: Rabin Vincent <rabin.vincent@xxxxxxxx>
> ---
> 0 files changed
> create mode 100644 tools/perf/arch/mips/Build
>
> diff --git a/tools/perf/arch/mips/Build b/tools/perf/arch/mips/Build
> new file mode 100644
> index 0000000..e69de29
> --
> 1.7.10.4
>

hum, haven't realized we're so strict ;-)

I haven't checked this deeply (and we'll probably take your change)
but could you please try attached patch if it solves the issue?

thanks,
jirka


---
diff --git a/tools/build/Makefile.build b/tools/build/Makefile.build
index 10df57237a66..69c35cf09cad 100644
--- a/tools/build/Makefile.build
+++ b/tools/build/Makefile.build
@@ -37,7 +37,7 @@ subdir-obj-y :=

# Build definitions
build-file := $(dir)/Build
-include $(build-file)
+-include $(build-file)

quiet_cmd_flex = FLEX $@
quiet_cmd_bison = BISON $@
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/