summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorSeongJae Park <sj38.park@gmail.com>2017-06-18 09:56:04 +0900
committerShuah Khan <shuahkh@osg.samsung.com>2017-06-23 13:35:15 -0600
commit6dff86a30d1475a42d9bc0f0b4bba9b8f51c3776 (patch)
tree64b6823cb4ea9a990ef66c372282dcba2f88baea /tools/testing
parentdc816e5d84cbc28baf776799839a632d6002236f (diff)
downloadlinux-6dff86a30d1475a42d9bc0f0b4bba9b8f51c3776.tar.gz
linux-6dff86a30d1475a42d9bc0f0b4bba9b8f51c3776.tar.bz2
linux-6dff86a30d1475a42d9bc0f0b4bba9b8f51c3776.zip
selftest/net/Makefile: Specify output with $(OUTPUT)
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") Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/net/Makefile3
1 files changed, 1 insertions, 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