Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1668499

[PATCH 3/3] selftest/net/Makefile: Specify output with $(OUTPUT)

From SeongJae Park <sj38.park@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 3/3] selftest/net/Makefile: Specify output with $(OUTPUT)
Date 2017-06-18 03:00 +0200
Message-ID <tTwJj-6yj-9@gated-at.bofh.it> (permalink)
References <tTwJj-6yj-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


After commit a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT"),
net selftest build fails because it points output file without $(OUTPUT)
yet.  This commit fixes the error.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Fixes: a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT")
---
 tools/testing/selftests/net/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile
index 35cbb4cba410..f6c9dbf478f8 100644
--- a/tools/testing/selftests/net/Makefile
+++ b/tools/testing/selftests/net/Makefile
@@ -3,8 +3,6 @@
 CFLAGS =  -Wall -Wl,--no-as-needed -O2 -g
 CFLAGS += -I../../../../usr/include/
 
-reuseport_bpf_numa: LDFLAGS += -lnuma
-
 TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh
 TEST_GEN_FILES =  socket
 TEST_GEN_FILES += psock_fanout psock_tpacket
@@ -13,3 +11,4 @@ TEST_GEN_FILES += reuseport_dualstack
 
 include ../lib.mk
 
+$(OUTPUT)/reuseport_bpf_numa: LDFLAGS += -lnuma
-- 
2.13.0

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 3/3] selftest/net/Makefile: Specify output with $(OUTPUT) SeongJae Park <sj38.park@gmail.com> - 2017-06-18 03:00 +0200
  Re: [PATCH 3/3] selftest/net/Makefile: Specify output with  $(OUTPUT) David Miller <davem@davemloft.net> - 2017-06-18 05:00 +0200

csiph-web