Skip to contentSkip to conversation

m68k: remove meaningless $(OS_OBJS)

PATCH In review Masahiro Yamada 2 participants 4 messages Mar 31, 2021 m68k architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 m68k: remove meaningless $(OS_OBJS)

'git grep OS_OBJS' hits only this line. $(OS_OBJS) is just empty.

---

 arch/m68k/fpsp040/Makefile | 2 --
 1 file changed, 2 deletions(-)
arch/m68k/fpsp040/Makefile +0 -2
index aab04d372ae7..5537807457fb 100644
@@ -12,5 +12,3 @@ obj-y    := bindec.o binstr.o decbin.o do_func.o gen_except.o get_op.o \
 	    x_unfl.o x_unimp.o x_unsupp.o bugfix.o skeleton.o
 
 EXTRA_LDFLAGS := -x
-
-$(OS_OBJS): fpsp.h
Signature · 1 line
2.27.0
#1 lore raw

PATCH 2/2 m68k: remove meaningless EXTRA_LDFLAGS

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.

---

 arch/m68k/fpsp040/Makefile  | 2 --
 arch/m68k/ifpsp060/Makefile | 2 --
 2 files changed, 4 deletions(-)
arch/m68k/fpsp040/Makefile +0 -2
index 5537807457fb..834ae9471b88 100644
@@ -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
arch/m68k/ifpsp060/Makefile +0 -2
index 43b435049452..56b530a96c2f 100644
@@ -5,5 +5,3 @@
 # for more details.
 
 obj-y := fskeleton.o iskeleton.o os.o
-
-EXTRA_LDFLAGS := -x
Signature · 1 line
2.27.0
maintainer Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] m68k: remove meaningless EXTRA_LDFLAGS

Quoted 6 lines · Masahiro Yamada

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.

i.e. will queue in the m68k for-v5.13 branch.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
maintainer Reviewed-by on v1 1/2
#3 lore raw
In reply to Masahiro Yamada
Quoted 1 line · Masahiro Yamada

'git grep OS_OBJS' hits only this line. $(OS_OBJS) is just empty.

Indeed. All other users were removed in 2002.

Quoted 1 line

i.e. will queue in the m68k for-v5.13 branch.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds