diff options
| author | Ingo Molnar <mingo@kernel.org> | 2017-11-02 05:57:24 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2017-11-02 05:57:24 -0400 |
| commit | 3357b0d3c7323d73806571192e9f633bb6ba3d54 (patch) | |
| tree | a92fb225bfdda901783ad662a1fea0baddfb81e1 /Makefile | |
| parent | 82c62fa0c49aa305104013cee4468772799bb391 (diff) | |
| parent | e27c310af5c05cf876d9cad006928076c27f54d4 (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-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -1,7 +1,7 @@ | |||
| 1 | VERSION = 4 | 1 | VERSION = 4 |
| 2 | PATCHLEVEL = 14 | 2 | PATCHLEVEL = 14 |
| 3 | SUBLEVEL = 0 | 3 | SUBLEVEL = 0 |
| 4 | EXTRAVERSION = -rc5 | 4 | EXTRAVERSION = -rc7 |
| 5 | NAME = Fearless Coyote | 5 | NAME = Fearless Coyote |
| 6 | 6 | ||
| 7 | # *DOCUMENTATION* | 7 | # *DOCUMENTATION* |
| @@ -130,8 +130,8 @@ endif | |||
| 130 | ifneq ($(KBUILD_OUTPUT),) | 130 | ifneq ($(KBUILD_OUTPUT),) |
| 131 | # check that the output directory actually exists | 131 | # check that the output directory actually exists |
| 132 | saved-output := $(KBUILD_OUTPUT) | 132 | saved-output := $(KBUILD_OUTPUT) |
| 133 | $(shell [ -d $(KBUILD_OUTPUT) ] || mkdir -p $(KBUILD_OUTPUT)) | 133 | KBUILD_OUTPUT := $(shell mkdir -p $(KBUILD_OUTPUT) && cd $(KBUILD_OUTPUT) \ |
| 134 | KBUILD_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 | ||
| 698 | ifeq ($(cc-name),clang) | 698 | ifeq ($(cc-name),clang) |
| 699 | ifneq ($(CROSS_COMPILE),) | 699 | ifneq ($(CROSS_COMPILE),) |
| 700 | CLANG_TARGET := -target $(notdir $(CROSS_COMPILE:%-=%)) | 700 | CLANG_TARGET := --target=$(notdir $(CROSS_COMPILE:%-=%)) |
| 701 | GCC_TOOLCHAIN := $(realpath $(dir $(shell which $(LD)))/..) | 701 | GCC_TOOLCHAIN := $(realpath $(dir $(shell which $(LD)))/..) |
| 702 | endif | 702 | endif |
| 703 | ifneq ($(GCC_TOOLCHAIN),) | 703 | ifneq ($(GCC_TOOLCHAIN),) |
| 704 | CLANG_GCC_TC := -gcc-toolchain $(GCC_TOOLCHAIN) | 704 | CLANG_GCC_TC := --gcc-toolchain=$(GCC_TOOLCHAIN) |
| 705 | endif | 705 | endif |
| 706 | KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) | 706 | KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) |
| 707 | KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) | 707 | KBUILD_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:' |
