[PATCH 2/2] m68k: remove meaningless EXTRA_LDFLAGS
From: Masahiro Yamada
Date: Wed Mar 31 2021 - 10:44:54 EST
These two Makefiles contain only built-in objects (i.e. obj-y), which
are collected by $(AR) into a thin-archive.
EXTRA_LDFLAGS is meaningless because $(LD) is not used here.
Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
---
arch/m68k/fpsp040/Makefile | 2 --
arch/m68k/ifpsp060/Makefile | 2 --
2 files changed, 4 deletions(-)
diff --git a/arch/m68k/fpsp040/Makefile b/arch/m68k/fpsp040/Makefile
index 5537807457fb..834ae9471b88 100644
--- a/arch/m68k/fpsp040/Makefile
+++ b/arch/m68k/fpsp040/Makefile
@@ -10,5 +10,3 @@ obj-y := bindec.o binstr.o decbin.o do_func.o gen_except.o get_op.o \
ssin.o ssinh.o stan.o stanh.o sto_res.o stwotox.o tbldo.o util.o \
x_bsun.o x_fline.o x_operr.o x_ovfl.o x_snan.o x_store.o \
x_unfl.o x_unimp.o x_unsupp.o bugfix.o skeleton.o
-
-EXTRA_LDFLAGS := -x
diff --git a/arch/m68k/ifpsp060/Makefile b/arch/m68k/ifpsp060/Makefile
index 43b435049452..56b530a96c2f 100644
--- a/arch/m68k/ifpsp060/Makefile
+++ b/arch/m68k/ifpsp060/Makefile
@@ -5,5 +5,3 @@
# for more details.
obj-y := fskeleton.o iskeleton.o os.o
-
-EXTRA_LDFLAGS := -x
--
2.27.0