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


Groups > linux.kernel > #1609473

[PATCH 2/2] selftests: net: support KBUILD_OUTPUT for reuseport_bpf_numa

From Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 2/2] selftests: net: support KBUILD_OUTPUT for reuseport_bpf_numa
Date 2017-03-27 08:00 +0200
Message-ID <tpvR9-3fY-19@gated-at.bofh.it> (permalink)
References <tpvR8-3fY-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


reuseport_bpf_numa is not supported by KBUILD_OUTPUT machanism in net
subset. This patch fix this by adding $(OUTPUT) before the target.

Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
---
 tools/testing/selftests/net/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile
index fbfe5d0..cc9425e 100644
--- a/tools/testing/selftests/net/Makefile
+++ b/tools/testing/selftests/net/Makefile
@@ -3,7 +3,7 @@
 CFLAGS =  -Wall -Wl,--no-as-needed -O2 -g
 CFLAGS += -I../../../../usr/include/
 
-reuseport_bpf_numa: LDFLAGS += -lnuma
+$(OUTPUT)/reuseport_bpf_numa: LDFLAGS += -lnuma
 
 TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh
 TEST_GEN_FILES =  socket
-- 
1.9.1

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


Thread

[PATCH 0/2] selftests: fix for KBUILD_OUTPUT Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2017-03-27 08:00 +0200
  [PATCH 2/2] selftests: net: support KBUILD_OUTPUT for reuseport_bpf_numa Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2017-03-27 08:00 +0200
  [PATCH 1/2] selftests: fix the broken individual test for x86 Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2017-03-27 08:00 +0200

csiph-web