]>
Commit | Line | Data |
---|---|---|
321d628a FG |
1 | From 183c7a0eddfea6359e977cc5216972b4cc875e0d Mon Sep 17 00:00:00 2001 |
2 | From: Masahiro Yamada <yamada.masahiro@socionext.com> | |
3 | Date: Fri, 27 Oct 2017 13:11:10 +0900 | |
e4cdf2a5 | 4 | Subject: [PATCH 080/241] x86/build: Beautify build log of syscall headers |
321d628a FG |
5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ||
9 | CVE-2017-5754 | |
10 | ||
11 | This makes the build log look nicer. | |
12 | ||
13 | Before: | |
14 | SYSTBL arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h | |
15 | SYSHDR arch/x86/entry/syscalls/../../include/generated/asm/unistd_32_ia32.h | |
16 | SYSHDR arch/x86/entry/syscalls/../../include/generated/asm/unistd_64_x32.h | |
17 | SYSTBL arch/x86/entry/syscalls/../../include/generated/asm/syscalls_64.h | |
18 | SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h | |
19 | SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h | |
20 | SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h | |
21 | ||
22 | After: | |
23 | SYSTBL arch/x86/include/generated/asm/syscalls_32.h | |
24 | SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h | |
25 | SYSHDR arch/x86/include/generated/asm/unistd_64_x32.h | |
26 | SYSTBL arch/x86/include/generated/asm/syscalls_64.h | |
27 | SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h | |
28 | SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h | |
29 | SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h | |
30 | ||
31 | Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> | |
32 | Acked-by: Thomas Gleixner <tglx@linutronix.de> | |
33 | Cc: Linus Torvalds <torvalds@linux-foundation.org> | |
34 | Cc: Peter Zijlstra <peterz@infradead.org> | |
35 | Cc: "H. Peter Anvin" <hpa@zytor.com> | |
36 | Cc: linux-kbuild@vger.kernel.org | |
37 | Link: http://lkml.kernel.org/r/1509077470-2735-1-git-send-email-yamada.masahiro@socionext.com | |
38 | Signed-off-by: Ingo Molnar <mingo@kernel.org> | |
39 | (cherry picked from commit af8e947079a7dab0480b5d6db6b093fd04b86fc9) | |
40 | Signed-off-by: Andy Whitcroft <apw@canonical.com> | |
41 | Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com> | |
42 | (cherry picked from commit d945957924e9b1a469516b4029fd384138c2cb69) | |
43 | Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> | |
44 | --- | |
45 | arch/x86/entry/syscalls/Makefile | 4 ++-- | |
46 | 1 file changed, 2 insertions(+), 2 deletions(-) | |
47 | ||
48 | diff --git a/arch/x86/entry/syscalls/Makefile b/arch/x86/entry/syscalls/Makefile | |
49 | index 57aa59fd140c..e34c7a931994 100644 | |
50 | --- a/arch/x86/entry/syscalls/Makefile | |
51 | +++ b/arch/x86/entry/syscalls/Makefile | |
52 | @@ -1,5 +1,5 @@ | |
53 | -out := $(obj)/../../include/generated/asm | |
54 | -uapi := $(obj)/../../include/generated/uapi/asm | |
55 | +out := arch/$(SRCARCH)/include/generated/asm | |
56 | +uapi := arch/$(SRCARCH)/include/generated/uapi/asm | |
57 | ||
58 | # Create output directory if not already present | |
59 | _dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)') \ | |
60 | -- | |
61 | 2.14.2 | |
62 |