Message ID | 20190916105433.11404-7-ivan.khoronzhuk@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp3338396ilq; Mon, 16 Sep 2019 03:55:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTkGPKEe6nm8XCYA5RIfjwfeJwIpTEyKvFBW8md4l0oh6egsVCxLNujiWwrfCXCZGvcqkz X-Received: by 2002:a17:906:5214:: with SMTP id g20mr49874121ejm.220.1568631344860; Mon, 16 Sep 2019 03:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568631344; cv=none; d=google.com; s=arc-20160816; b=qT6JbZNVFupHSokuJRGdmUJolIC8NmPmVspDuP4EOlLzBSJ7P7PE01BB0qLDq/AJg2 cZpN9eDRZ+LZEnn3IHc+1dTSziYIskxQfQ2joSPhy/HUrm2tpt0d2drcUc/7e8Qmlmoh Ax7fDEHWdCpnPXj3DmazlU9gM2ZkFAAg7s9doERIH6x18r2zIP7xEyzvvELI+Dj38YpZ KB+OqoeS5LqCcSb0yvRl8mf8i7EfiPgxeJS2O8/KUiA6F4ZWIYHMwhHG7ESlDgnp4SEj 8arx0k6GTVRLGsWJ/8Lu6T9MwgUJEiHeIBQmnzK9vtHlnGAnBnKxXjK76rCx/uqs67Bd 43Ig== 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=ICv/vY4XAwe136r6/MDdnRXmmJJ1JFeohZKBWO948JI=; b=Mm6YL9udckYyLwUd+/U2Be26ui/cSghk1vnjImkVV2M2oIKmKl9fMfvMLOFcpVY3hT PlXSKV6Xb71kafRPjMAYRXbXE6aBDQ8c36H3zNwG6aMTIJyO7TmRTZiXIiXsqD7/0qh9 9ysFb80h9FnwWvXBugECBGc4y+EKHceOr4lFlAH5mFO9LHC+6bDj2CKISC5S9CDE8+D4 cK/WDPok0Zy4D+1uTjWHVqFrtglJoUk3FbZfhtmjI8fa20LpU/2El59r9vPk5p8thTGH jG4Dk/UxBp8ebqA/HFV+bVSvDWI9G6jsqRFXPZcerI7hpEzUQxqN05/EduTafFH5fNwX KiaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=renlPhv6; 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 Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1si822912edr.446.2019.09.16.03.55.44; Mon, 16 Sep 2019 03:55:44 -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 header.s=google header.b=renlPhv6; 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 S1732696AbfIPKzn (ORCPT <rfc822;mike.holmes@linaro.org> + 27 others); Mon, 16 Sep 2019 06:55:43 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:36827 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732499AbfIPKyw (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Sep 2019 06:54:52 -0400 Received: by mail-lj1-f194.google.com with SMTP id v24so5649636ljj.3 for <linux-kernel@vger.kernel.org>; Mon, 16 Sep 2019 03:54:48 -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=ICv/vY4XAwe136r6/MDdnRXmmJJ1JFeohZKBWO948JI=; b=renlPhv6Vx5CNHYksA5WzO20FVIYXEGpjJn5/YGtCgnC0BCwjUvLBlAbeS2QWSwpah jcbI6KeCWf9WpTaXKqzoATiWjCG2prOysrOtXjGAuLCXoTntdh4Qt/9m80BBL8QN4pzD XadY611DPWHua3DwZGOlRJTNUpZN6TrPk0Qwv6sDmublMKNGDX/eMekRKEEMHAPLynHN 5myrlSfFkSMecyixXnfJtcPFSkWkbeUOkkzmZn0e084lNX5MEANYr1m0mJB052RjofTA cKvGdlGjvGxXUcAUQef27FEQY1g72gk+N/QCID6XsEJxukpv5MfPHG1nANwRFzRONI4R ysPQ== 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=ICv/vY4XAwe136r6/MDdnRXmmJJ1JFeohZKBWO948JI=; b=SEKVvt9PVIjrOJ0euzxr6AA9sW5LBudLqJfCGUXrMjHFxjuc+1d0mNLz7NUsTMKX9z rZw29NTVawUhd4LWUhpA5rY/BPesep3PZHPe3QPa7+IGQJsbur9gwzdAPB4j64+/uM+/ CKVPBep9Ba4SHtLfLpy2NsmI5NC8dqTjrJdbw/uHqYvEvUaI5WgO9219m8DLDw4VaNbw xt6dFCq9jI01hZRUFmZJOBm/w2DCWwAyNQ0ZypZKjEkNQn3jB4yaXEySJIh4FjhsY8aj gbvWn25aX2IGV+o+yKH9AsDC7UpetDxWo8p9Mb08W1/6MicS7Q2lpXFzoeCO3RnkAiOT ajTg== X-Gm-Message-State: APjAAAVox9371/gw1khg1aZdszBNOz4IAtcrrOHr97yeij/sse/tzq9R 1P6d62Fcwx3WPWDmMSmLoJODeQ== X-Received: by 2002:a2e:9881:: with SMTP id b1mr19271028ljj.134.1568631288103; Mon, 16 Sep 2019 03:54:48 -0700 (PDT) Received: from localhost.localdomain (168-200-94-178.pool.ukrtel.net. [178.94.200.168]) by smtp.gmail.com with ESMTPSA id v1sm8987737lfq.89.2019.09.16.03.54.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2019 03:54:47 -0700 (PDT) From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> 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, sergei.shtylyov@cogentembedded.com, Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Subject: [PATCH v3 bpf-next 06/14] samples: bpf: makefile: drop unnecessarily inclusion for bpf_load Date: Mon, 16 Sep 2019 13:54:25 +0300 Message-Id: <20190916105433.11404-7-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190916105433.11404-1-ivan.khoronzhuk@linaro.org> References: <20190916105433.11404-1-ivan.khoronzhuk@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
samples: bpf: improve/fix cross-compilation
|
expand
|
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index d3c8db3df560..9d923546e087 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
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 <ivan.khoronzhuk@linaro.org> --- samples/bpf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1