Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5996693ybe; Tue, 10 Sep 2019 11:55:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqy//lVPAYalVrRwMDILfSW1XHar5aldetIw409zGJZ1EGqqGNV6FU+huas+Q45msciV/v+N X-Received: by 2002:a17:906:fc0f:: with SMTP id ov15mr26441342ejb.234.1568141740953; Tue, 10 Sep 2019 11:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568141740; cv=none; d=google.com; s=arc-20160816; b=CuiM2G4/p42CPu3cwhmgQhTWjRuHYHHAhH1S1dipAqDDOc1oLgUL1DLele6MJmEG/6 2P0cy/5k8KNDf3WqbIAISWjancozKvdPumyEXrUK8oj5hG+eIqxmohQxVre4nYt5kBrJ yaJykkUIuyvo774YSrNdeXt3UIRXviJPeh5kBD/IEMBaRPf98djxWP7CjYNqJaORd4gk x5M89hJHtlbytLGQpQ8jN63YWK4v7x8lnfDu8QkphDeWMqoVIsIHawKNwnH2453iiKXz EhjAOp7nhyShT08AgKeX5IAiaoSCiC81WkLnDpXGELTVGxVLsNUvVXYhBRqdnFk4OAex NgkQ== 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=UKgtTI57zCb7K8E5dLif5y6EhTQqVERMGZla7VwIMYQ=; b=QdmOY4AkUYXusP0GFIWGZCLe/qq5DC5RIpihwnnmWwQBkjkWOQVs+anjVysj39KVzc wKEiLCDIDpSoFAopG3lBQRNtajWKJOl//QHvFHq+68QjPJY0NmXfNVheg2OEdyRGL8JS sXRwFLjJHn02Ue9k6wxmonwuSIOH27P69JfokcA/ueK1CSrh0v2VudSJW39+Sw90ebIB CgAOXcq9aUirfEd+hlA0ul8aXZHLiMyluSwNHtdyHbBMvH7jP3bHExSh8c+LIMvOsYL1 lglT1MDAv42sIvzhShfMK3NMM7k35w05dsuZFDULmwPnLt9IJSg6kIzAl4JIEw0B7xw4 PB7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d1NV8iFC; 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 l8si7644904ejq.352.2019.09.10.11.55.16; Tue, 10 Sep 2019 11:55:40 -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=d1NV8iFC; 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 S2436584AbfIJKjn (ORCPT + 99 others); Tue, 10 Sep 2019 06:39:43 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:42879 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbfIJKim (ORCPT ); Tue, 10 Sep 2019 06:38:42 -0400 Received: by mail-lf1-f67.google.com with SMTP id u13so13015520lfm.9 for ; Tue, 10 Sep 2019 03:38:40 -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=UKgtTI57zCb7K8E5dLif5y6EhTQqVERMGZla7VwIMYQ=; b=d1NV8iFC+6tOZEpE1Idxar1syxxTv7LcaRQZKlN8lQ6UWNIM+VsrSFW8OJhzp+yrJK TZnEJUUlCmzujYSIfmSrXIvuC5fOAhvtLMtyZs64Tv3BRrt8188Rowio4LxF2nev6JL6 WtXExT6UHvUlF0qokmozbnE1v4hSBPLFKR4wranRRPVQkNiRuzUt4ZlMLhNkSXBcitw8 O+rliVg8fS3f/5eYtq3Q8msGYQ9HqgzAhaCLrLmKBPO6NQNVOX9ydpNZY7TyJySLox4V mMlqKXBF3zWTks+rpEwMVOtIrdl3id63UjM+3DgC7rvSV53qIOnh0AkSuuj788gMPWqh JspA== 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=UKgtTI57zCb7K8E5dLif5y6EhTQqVERMGZla7VwIMYQ=; b=IwjngiGgmporXk0t/rjpQUjhMYYTjlvv+gZ5DwRnkvYdOnUCHvH5fdeQJ9pVFGd/U9 DEoOKhWbVmWwrpqR7VCyVFLnxkJO1RX5Rf0cVyP+rJqVvopiSCq4b4QNT4dH/MVts/Xa ISShFcH3YqCoLQhmDDuO1EXuP1TuneMaD4X+GAEbobDK3bSMq6rBP7ghC/YZhjism7FG hmcNpqAuLCiL807e+3aP+m3vu44D3Ssc2Rh1K/JOGHAgkVKJIioRDHBWy5YManezUH4H VJlPn/NhxQlkPzCdShqYSHY5NaQ4PGfbI0jxwZM2iUx63CUbxBepMJ3fs6+GwBix0Pi5 bFOw== X-Gm-Message-State: APjAAAVkKiZQUrkbyTh0KvPU+bK1gZRbMpORq/QRPm2xOs/ggmsZpmmk 7phz7McbEXcaYkLwB02BZWq9BA== X-Received: by 2002:ac2:5090:: with SMTP id f16mr20575559lfm.66.1568111920122; Tue, 10 Sep 2019 03:38:40 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2019 03:38:39 -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 02/11] samples: bpf: makefile: fix cookie_uid_helper_example obj build Date: Tue, 10 Sep 2019 13:38:21 +0300 Message-Id: <20190910103830.20794-3-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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Don't list userspace "cookie_uid_helper_example" object in list for bpf objects. per_socket_stats_example-opjs is used to list additional dependencies for user space binary from hostprogs-y list. Kbuild system creates rules for objects listed this way anyway and no need to worry about this. Despite on it, the samples bpf uses logic that hostporgs-y are build for userspace with includes needed for this, but "always" target, if it's not in hostprog-y list, uses CLANG-bpf rule and is intended to create bpf obj but not arch obj and uses only kernel includes for that. So correct it, as it breaks cross-compiling at least. Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index f50ca852c2a8..43dee90dffa4 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -145,7 +145,6 @@ always += sampleip_kern.o always += lwt_len_hist_kern.o always += xdp_tx_iptunnel_kern.o always += test_map_in_map_kern.o -always += cookie_uid_helper_example.o always += tcp_synrto_kern.o always += tcp_rwnd_kern.o always += tcp_bufs_kern.o -- 2.17.1