From patchwork Mon Mar 27 05:46:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bamvor Zhang Jian X-Patchwork-Id: 96026 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1075095qgd; Sun, 26 Mar 2017 22:54:23 -0700 (PDT) X-Received: by 10.84.168.4 with SMTP id e4mr26830552plb.138.1490594063463; Sun, 26 Mar 2017 22:54:23 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7si11466389pgk.356.2017.03.26.22.54.23; Sun, 26 Mar 2017 22:54:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751941AbdC0FyW (ORCPT + 18 others); Mon, 27 Mar 2017 01:54:22 -0400 Received: from mail-oi0-f54.google.com ([209.85.218.54]:33046 "EHLO mail-oi0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751407AbdC0FyQ (ORCPT ); Mon, 27 Mar 2017 01:54:16 -0400 Received: by mail-oi0-f54.google.com with SMTP id g83so10472634oia.0 for ; Sun, 26 Mar 2017 22:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BwmTP5WtPF3ygoPTqvpyZYChns1nN5SvZLhY0xKBWas=; b=IhW8n+IUStJUgUEOFreeZndiEmoblvobBksorZI79g7Al+MpkhuQA3ro5QjYwE8TUI ljTlIr002deTfLdEM6pr2nuFRYWC4OsEIbCvzqSICJKzH97SA/uR40t2r5zRRPSpPBY4 HDBmA5bh/e5vKP2jvOOHBYLdUcTRMRY5/Lx0I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BwmTP5WtPF3ygoPTqvpyZYChns1nN5SvZLhY0xKBWas=; b=lYJn+d42JJ3G7sZdU6RQdWMAFI9XtH/FAGnEg+gk3Dy+W0RT563Gqg33GcFT89NrBX hiTku2BzTe9ITj0O5JSCvWVoMjtq+0kz0WenRNti1ebxYtCth1DLEevWrehchGEZZNag mqiMYlqtd8cZaOqa71eUKJuQUo/K059Ec8mq+23K+zCDxO26rOs5DCLSTmqOm+TaW3ot yXl9fT1gJz1tjAfpeeBaFe6QOpl7TdeMI+6BRii/4S2EsV74FlzuvOxCzVJDzh9v1YiY zSq3VRXTKMicNVl6L2zL4pZDaDLlFXzGp/bCQuTdkK7jU4XZGpbkgANRPtuNn//vOg8D 2fcQ== X-Gm-Message-State: AFeK/H1b/ytFDGJFvI32mTPU9o7Pe4gSny0i/+j0G52HVlASqV1izR/LlU2JUqA3qezmR/k9 X-Received: by 10.202.221.6 with SMTP id u6mr10648223oig.63.1490593565699; Sun, 26 Mar 2017 22:46:05 -0700 (PDT) Received: from linux.members.linode.com (li918-191.members.linode.com. [45.56.68.191]) by smtp.gmail.com with ESMTPSA id r130sm4657602oif.20.2017.03.26.22.46.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 26 Mar 2017 22:46:05 -0700 (PDT) From: Bamvor Jian Zhang To: luto@amacapital.net, shuahkh@osg.samsung.com Cc: mpe@ellerman.id.au, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, khilman@kernel.org, broonie@kernel.org, bamvor.zhangjian@huawei.com, bamvor.zhangjian@linaro.org Subject: [PATCH 2/2] selftests: net: support KBUILD_OUTPUT for reuseport_bpf_numa Date: Mon, 27 Mar 2017 05:46:01 +0000 Message-Id: <20170327054601.22415-3-bamvor.zhangjian@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170327054601.22415-1-bamvor.zhangjian@linaro.org> References: <20170327054601.22415-1-bamvor.zhangjian@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- tools/testing/selftests/net/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 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