Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3938000ybe; Mon, 16 Sep 2019 04:04:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNXyjRQgmpUie3LlIyX5ZWM7XdsleokZW+6R9oazaZccgKdv/UGdQ+yjdx10kpfStzfCDL X-Received: by 2002:a50:de08:: with SMTP id z8mr22921189edk.121.1568631883062; Mon, 16 Sep 2019 04:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568631883; cv=none; d=google.com; s=arc-20160816; b=n8CyqLJpA3S6EKU2u/kgTL/VdWEZbk2H6uH5VJ3n8Ub6XBbv+5QKLExVJaISXpUmPg DXTDBnsUZuEJeVwPHAYm1GecQSnn/xZIHr6wF/GgfZkRmGqv+ZBVHnnb+0T932jdHTIG nPFYbjRG4qsUm49TVF6zJP2jW+RvW69PzHsM7dMJk7Ay6CIyPULDmzQEGpKkKMtcePvu 1vfrmQGBxJO7rbpGV9u5x/C/uTQNOJ+9E3sDfpe9Pa6RIcz5sP27o5AlWEu0wMo3SowL 6YKtY2to80z9WK1hhw7sYxObKk3venRpamDd7VIX1TFB/fuP0Ib+UZTHfJMAGdhQj3PF YE1A== 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c8si22886752edb.82.2019.09.16.04.04.19; Mon, 16 Sep 2019 04:04:43 -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 S1732691AbfIPKzm (ORCPT + 99 others); Mon, 16 Sep 2019 06:55:42 -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 ); Mon, 16 Sep 2019 06:54:52 -0400 Received: by mail-lj1-f194.google.com with SMTP id v24so5649636ljj.3 for ; 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 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 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: X-Mailing-List: linux-kernel@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(-) 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 -- 2.17.1