[<prev] [next>] [day] [month] [year] [list]
Message-Id: <a5fd2030a1e4051f9cadaee20ab95b29bdd52662.1666543197.git.aclaudi@redhat.com>
Date: Sun, 23 Oct 2022 18:41:01 +0200
From: Andrea Claudi <aclaudi@...hat.com>
To: netdev@...r.kernel.org
Cc: stephen@...workplumber.org, dsahern@...il.com
Subject: [PATCH iproute2-next] genl: remove unused vars in Makefile
Both GENLLIB and LIBUTIL are not used in genl Makefile, let's get rid of
them.
Signed-off-by: Andrea Claudi <aclaudi@...hat.com>
---
genl/Makefile | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
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)
--
2.37.3
Powered by blists - more mailing lists