diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-12 04:01:33 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-18 19:40:27 -0400 |
commit | ec33408a2279b7c72fc09eb4c7fba805e3ec5afe (patch) | |
tree | 9ce4f0b2a8c359e9e9c2be603c6ac261f1021558 | |
parent | 3a477d4efc57adeb3b2bfd6ccedf6f20d275ae1b (diff) |
kbuild: remove redundant LDFLAGS clearing in arch/*/Makefile
Since commit ce99d0bf312d ("kbuild: clear LDFLAGS in the top Makefile"),
the top-level Makefile caters to this.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
-rw-r--r-- | arch/arm/Makefile | 3 | ||||
-rw-r--r-- | arch/openrisc/Makefile | 1 | ||||
-rw-r--r-- | arch/riscv/Makefile | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index fc26c3d7b9b6..0306640602e7 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -10,9 +10,6 @@ | |||
10 | # | 10 | # |
11 | # Copyright (C) 1995-2001 by Russell King | 11 | # Copyright (C) 1995-2001 by Russell King |
12 | 12 | ||
13 | # Ensure linker flags are correct | ||
14 | LDFLAGS := | ||
15 | |||
16 | LDFLAGS_vmlinux :=-p --no-undefined -X --pic-veneer | 13 | LDFLAGS_vmlinux :=-p --no-undefined -X --pic-veneer |
17 | ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) | 14 | ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) |
18 | LDFLAGS_vmlinux += --be8 | 15 | LDFLAGS_vmlinux += --be8 |
diff --git a/arch/openrisc/Makefile b/arch/openrisc/Makefile index 89076a66eee2..70e06d34006c 100644 --- a/arch/openrisc/Makefile +++ b/arch/openrisc/Makefile | |||
@@ -19,7 +19,6 @@ | |||
19 | 19 | ||
20 | KBUILD_DEFCONFIG := or1ksim_defconfig | 20 | KBUILD_DEFCONFIG := or1ksim_defconfig |
21 | 21 | ||
22 | LDFLAGS := | ||
23 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S | 22 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S |
24 | LDFLAGS_vmlinux := | 23 | LDFLAGS_vmlinux := |
25 | LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) | 24 | LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) |
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 6d4a5f6c3f4f..2627e4813edf 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile | |||
@@ -8,7 +8,6 @@ | |||
8 | # for more details. | 8 | # for more details. |
9 | # | 9 | # |
10 | 10 | ||
11 | LDFLAGS := | ||
12 | OBJCOPYFLAGS := -O binary | 11 | OBJCOPYFLAGS := -O binary |
13 | LDFLAGS_vmlinux := | 12 | LDFLAGS_vmlinux := |
14 | ifeq ($(CONFIG_DYNAMIC_FTRACE),y) | 13 | ifeq ($(CONFIG_DYNAMIC_FTRACE),y) |