summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-11-02 05:57:24 -0400
committerIngo Molnar <mingo@kernel.org>2017-11-02 05:57:24 -0400
commit3357b0d3c7323d73806571192e9f633bb6ba3d54 (patch)
treea92fb225bfdda901783ad662a1fea0baddfb81e1 /Makefile
parent82c62fa0c49aa305104013cee4468772799bb391 (diff)
parente27c310af5c05cf876d9cad006928076c27f54d4 (diff)
Merge branch 'x86/mpx/prep' into x86/asm
Pick up some of the MPX commits that modify the syscall entry code, to have a common base and to reduce conflicts. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 369eea08a572..9f6894531f9e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
1VERSION = 4 1VERSION = 4
2PATCHLEVEL = 14 2PATCHLEVEL = 14
3SUBLEVEL = 0 3SUBLEVEL = 0
4EXTRAVERSION = -rc5 4EXTRAVERSION = -rc7
5NAME = Fearless Coyote 5NAME = Fearless Coyote
6 6
7# *DOCUMENTATION* 7# *DOCUMENTATION*
@@ -130,8 +130,8 @@ endif
130ifneq ($(KBUILD_OUTPUT),) 130ifneq ($(KBUILD_OUTPUT),)
131# check that the output directory actually exists 131# check that the output directory actually exists
132saved-output := $(KBUILD_OUTPUT) 132saved-output := $(KBUILD_OUTPUT)
133$(shell [ -d $(KBUILD_OUTPUT) ] || mkdir -p $(KBUILD_OUTPUT)) 133KBUILD_OUTPUT := $(shell mkdir -p $(KBUILD_OUTPUT) && cd $(KBUILD_OUTPUT) \
134KBUILD_OUTPUT := $(realpath $(KBUILD_OUTPUT)) 134 && /bin/pwd)
135$(if $(KBUILD_OUTPUT),, \ 135$(if $(KBUILD_OUTPUT),, \
136 $(error failed to create output directory "$(saved-output)")) 136 $(error failed to create output directory "$(saved-output)"))
137 137
@@ -697,11 +697,11 @@ KBUILD_CFLAGS += $(stackp-flag)
697 697
698ifeq ($(cc-name),clang) 698ifeq ($(cc-name),clang)
699ifneq ($(CROSS_COMPILE),) 699ifneq ($(CROSS_COMPILE),)
700CLANG_TARGET := -target $(notdir $(CROSS_COMPILE:%-=%)) 700CLANG_TARGET := --target=$(notdir $(CROSS_COMPILE:%-=%))
701GCC_TOOLCHAIN := $(realpath $(dir $(shell which $(LD)))/..) 701GCC_TOOLCHAIN := $(realpath $(dir $(shell which $(LD)))/..)
702endif 702endif
703ifneq ($(GCC_TOOLCHAIN),) 703ifneq ($(GCC_TOOLCHAIN),)
704CLANG_GCC_TC := -gcc-toolchain $(GCC_TOOLCHAIN) 704CLANG_GCC_TC := --gcc-toolchain=$(GCC_TOOLCHAIN)
705endif 705endif
706KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) 706KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC)
707KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) 707KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC)
@@ -1399,7 +1399,7 @@ help:
1399 @echo ' Build, install, and boot kernel before' 1399 @echo ' Build, install, and boot kernel before'
1400 @echo ' running kselftest on it' 1400 @echo ' running kselftest on it'
1401 @echo ' kselftest-clean - Remove all generated kselftest files' 1401 @echo ' kselftest-clean - Remove all generated kselftest files'
1402 @echo ' kselftest-merge - Merge all the config dependencies of kselftest to existed' 1402 @echo ' kselftest-merge - Merge all the config dependencies of kselftest to existing'
1403 @echo ' .config.' 1403 @echo ' .config.'
1404 @echo '' 1404 @echo ''
1405 @echo 'Userspace tools targets:' 1405 @echo 'Userspace tools targets:'