Message ID | a5fd2030a1e4051f9cadaee20ab95b29bdd52662.1666543197.git.aclaudi@redhat.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Stephen Hemminger |
Headers | show |
Series | [iproute2-next] genl: remove unused vars in Makefile | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
diff --git a/genl/Makefile b/genl/Makefile index 2b7a45b6..0bd27ff6 100644 --- a/genl/Makefile +++ b/genl/Makefile @@ -11,8 +11,6 @@ GENLMODULES += ctrl.o GENLOBJ += $(GENLMODULES) -GENLLIB := - ifeq ($(SHARED_LIBS),y) LDFLAGS += -Wl,-export-dynamic LDLIBS += -lm -ldl @@ -20,14 +18,14 @@ endif all: genl -genl: $(GENLOBJ) $(LIBNETLINK) $(LIBUTIL) $(GENLLIB) +genl: $(GENLOBJ) $(LIBNETLINK) $(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@ install: all install -m 0755 genl $(DESTDIR)$(SBINDIR) clean: - rm -f $(GENLOBJ) $(GENLLIB) genl + rm -f $(GENLOBJ) genl ifneq ($(SHARED_LIBS),y)
Both GENLLIB and LIBUTIL are not used in genl Makefile, let's get rid of them. Signed-off-by: Andrea Claudi <aclaudi@redhat.com> --- genl/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)