From patchwork Tue Sep 10 10:38:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 173506 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp5610103ilq; Tue, 10 Sep 2019 03:39:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwh0oe5sV5+Cr2OUZDfLEUpkA6mTAYWhUFqJEJb3dF5EGZ0K4NUdiBcVxD5AQPLzj9HmjA5 X-Received: by 2002:a50:fc08:: with SMTP id i8mr30247068edr.285.1568111952915; Tue, 10 Sep 2019 03:39:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568111952; cv=none; d=google.com; s=arc-20160816; b=dWN51WX08DvepRY3lQGx71eKj9aIEp9fAmobUb/xV6c58WYKjAJ+UeZGntNArbJaIt AY+njRuVn5eu8ZzFxH/VqmeYAvW4AHPDoAEZd/nk5GL3Smi/E4d6Dxd3H/o+JmQnvVl+ NKEYgnF2UfcHHFGyUJltVkxmHGwyKHXEnPmwccQkeRMVo+HDETl8fS6c+uYswy4wUbFU t5Xs1OfoBjwW9HPvFU/S0bhFmVx+x8OvHfCbolq1RGwYACRr7OISCdujjx+vWEvwgy8T 8nm/5ugYaF9YMVU5eFhFHyxtrs2h1aZ1JIwSJSNeQ61CDyh5xDbboYmcfOLFA7RMBq/G Exew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Jcy7fNNZJS0bHfCAktRnVFRPdGNhHeHDFWh1+uGNMgg=; b=Wnz3T7h/sJo9BhdD1OG+hxv/GWwXShtIplJHNDQrelOc+GWu6NSZJc7pOu3tXHZ9LE Ovvs7rrs8VIIXVe+0YHT42l3DL64V/pdYcf9qQp2RkJQEDP5ccNlP2cLUeolNgvXVNue isHat7v+KpI0SYn0opIrQcsohMiasR98vN9gWungzoUzeet0mfSG2gvXQj4nSSrTA5vj cSnbCFsWzBSKE7Y/lcV9b72jRQ4u+b5Z5EgpEr72XdUMWveTEg7e6my3tQM8TWc5t+SK BycXpWQsffFK8qnmfrpvlHINv1ef819oehggSRae6Oz2uzGT7naUuKYsILOMLQ+zi8RT OZ6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TacAjaCh; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b15si11002349edd.121.2019.09.10.03.39.12; Tue, 10 Sep 2019 03:39:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-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 header.s=google header.b=TacAjaCh; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 S2406164AbfIJKiv (ORCPT + 8 others); Tue, 10 Sep 2019 06:38:51 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:33918 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436512AbfIJKir (ORCPT ); Tue, 10 Sep 2019 06:38:47 -0400 Received: by mail-lf1-f67.google.com with SMTP id r22so1728309lfm.1 for ; Tue, 10 Sep 2019 03:38:45 -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=Jcy7fNNZJS0bHfCAktRnVFRPdGNhHeHDFWh1+uGNMgg=; b=TacAjaChlFJ4KM27SSs7dVz9hlSYEhjkfawLkkkl48IIQQ1wSVIYRQqMrlaTvwl5CP DLad2TxLl1dIZdNnUCsQoUzGEzjSHzGAoJfGcjZM4FTLbfHDJDLxnG5DAEJV3cr2Dy8K NohR7qiDvztBEtRRhN+sI9gFBal1gTt0bC+OvHCKzOtDlFYiVB5XXrYtgW94qEUhkp2h 3v8a3c01/ol6w+U0kIUEzHlnI0iBQYa+7bJiSI6L+/2JnZTArU2V7S1yzvcDNRFO1VxI N2wy/iUyP3CgCFvDn8yQRk+j1Mob2gdE9ZGzqU5ILV7gLlW6lFvbvv5sRg6nA13I38pN V0kg== 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=Jcy7fNNZJS0bHfCAktRnVFRPdGNhHeHDFWh1+uGNMgg=; b=hf0p0qIpnVV0rWtPJTrTcwUOKXB0T+W4KjrcayZaCgxHM3g+Dp6JQQ1UCqcJ2T4qD/ Em0uNvNiyWU/Js3NJOxUiWtgNmfZFzxku5WipT774rRJb6UUhteYuMikpUg/bvWS7jgU ibU6He8YnA7ll0rV8BkH6CltQowDZh4mPjtZzEwZVpr8RwbcnKl45oql16h4BcbdL2rF JHdKf5/S5k1djdv8KK8kV7Jd/3LCB3wWhuOkcRQpgeNHO0cMPDPvyNIOW5pISGHEW/nK Wv7DR25rxa+y+zj1t69uZ1kzcMBFHaaiLtykEkOYdsGg2QWRpFlRZZGgD/5q6TKBKg5G wqSg== X-Gm-Message-State: APjAAAV7u0rhuaC9u4OJUktqD8o20P30KBDOFC5ZLXKvbk1w0LjIOb4U iJxOfY0CIPAVI0yzgy/6pz/Eow== X-Received: by 2002:a19:2d19:: with SMTP id k25mr20950410lfj.76.1568111924828; Tue, 10 Sep 2019 03:38:44 -0700 (PDT) Received: from localhost.localdomain (168-200-94-178.pool.ukrtel.net. [178.94.200.168]) by smtp.gmail.com with ESMTPSA id g5sm4005563lfh.2.2019.09.10.03.38.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2019 03:38:44 -0700 (PDT) From: Ivan Khoronzhuk To: ast@kernel.org, daniel@iogearbox.net, yhs@fb.com, davem@davemloft.net, jakub.kicinski@netronome.com, hawk@kernel.org, john.fastabend@gmail.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, clang-built-linux@googlegroups.com, Ivan Khoronzhuk Subject: [PATCH bpf-next 06/11] samples: bpf: makefile: drop unnecessarily inclusion for bpf_load Date: Tue, 10 Sep 2019 13:38:25 +0300 Message-Id: <20190910103830.20794-7-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190910103830.20794-1-ivan.khoronzhuk@linaro.org> References: <20190910103830.20794-1-ivan.khoronzhuk@linaro.org> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Drop inclusion for bpf_load -I$(objtree)/usr/include as it is included for all objects anyway, with above line: KBUILD_HOSTCFLAGS += -I$(objtree)/usr/include Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 6492b7e65c08..f5dbf3d0c5f3 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -176,7 +176,7 @@ KBUILD_HOSTCFLAGS += -I$(srctree)/tools/testing/selftests/bpf/ KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/ -I$(srctree)/tools/include KBUILD_HOSTCFLAGS += -I$(srctree)/tools/perf -HOSTCFLAGS_bpf_load.o += -I$(objtree)/usr/include -Wno-unused-variable +HOSTCFLAGS_bpf_load.o += -Wno-unused-variable KBUILD_HOSTLDLIBS += $(LIBBPF) -lelf HOSTLDLIBS_tracex4 += -lrt