Message ID | 20191009204134.26960-1-ivan.khoronzhuk@linaro.org |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1263942ill; Wed, 9 Oct 2019 13:41:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjgVkCK3Koil4iPCIDFiroT0HoCx/SSUD3Q4Jk/i/UNJJBCKDmhu4WxMMrXiiIOnBD+Jor X-Received: by 2002:a05:6402:7cc:: with SMTP id u12mr4799163edy.63.1570653707118; Wed, 09 Oct 2019 13:41:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570653707; cv=none; d=google.com; s=arc-20160816; b=qAkJq7DI/bAAxxQfiCyJ6VLuk7wNiv9WrlL/Pi4JP2pToA3Zu6zjX3QeqinInEuDRU 005WWfnozG8YtLx5gqHqrFkTlYhrmLCi17/WYArZySWZHmTd2Sax3TqCqS8Xm6II91aY mNdpe4svfOMI9Av/jQF0FSdwD/90NJDhGzosm43NsjCtBHVQQfuKSAi6N8TYTlF3fSUF r7u0pekiQ7hLYO+SP1uqKeqc0CagHwHwLl211KNOpUytC4P2757qVCHCl1u9wKbOQAcp 2KzcIJa2CE1HW3dOkJwgo5IUFXmqi0iiUNjM4MLlgd+nGuv1QkYNLUX2jxrWR5FMABH5 NxiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=tKxIqZaGiIZbrcpQmZNhRc78ngIxmKtJ7WH1CMEhs2I=; b=OefWsD7JqIMGn9g5qnQLSjHzxCEibsE7QLjmJZug0akAPT/U3nCQUfDPARJU7ptRAb lBhnMImqnf2QoOz0wSo+MllN89CEmBqQxzygPRX8mWkzKBbqbJd26BYAPMsvlPf7Pcii vyzOVg0mtUG1+DwSqJL1z5TKa1OczG/CsnYUhN6YcKPiedEbg3qkuE1LcmhCvkEo2KMT UWS3FmCqRqS1Dn0Ur7Xm0iYk93VEkitmrz/YblF4pbm4PmK2iKnN13iixr5BElmYZmvF nOKhh/XCNdnAOt2eek1nsgnAMmaPI9qSMlh54P1WlE5a0ATJf9OO/TQB8U8X7nB7SRC0 TE7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WxNv25vr; 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: <netdev-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l23si1802319ejr.296.2019.10.09.13.41.46; Wed, 09 Oct 2019 13:41:47 -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=WxNv25vr; 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 S1731874AbfJIUln (ORCPT <rfc822;dan.rue@linaro.org> + 8 others); Wed, 9 Oct 2019 16:41:43 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:43598 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731751AbfJIUlm (ORCPT <rfc822;netdev@vger.kernel.org>); Wed, 9 Oct 2019 16:41:42 -0400 Received: by mail-lj1-f196.google.com with SMTP id n14so3848830ljj.10 for <netdev@vger.kernel.org>; Wed, 09 Oct 2019 13:41: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; bh=tKxIqZaGiIZbrcpQmZNhRc78ngIxmKtJ7WH1CMEhs2I=; b=WxNv25vrnjt4D1lt3yzvx28MGV/CRGv+OcBswnLQs52baGdH9kyk2XmTWFLi1vx56m xr8BZGbgRMQQFBMot/4hsnIbNTYSzHcvjwKrdgTZgWMzVFGlC7n6/drmeqzDn/vthXAa MMVr6AV36/+f2Didl3WLclx2fFoUjZ78jWmxtwHLoc50XAtgFk0EbbNqgid+CwLfF0FG PNeQNIqvgYpYnAJOptZoj1sq3t6ohc2a8BWj5AnyfDwF6fn6fnzLNftzfyLZGUmQ3UFx dF/CLm6BJ2+0r6kWiNTm1Nm4MvqEOSf2hvODXCCdcBK81RNPnKosS0/qws79Ujtohfrp ZTyQ== 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; bh=tKxIqZaGiIZbrcpQmZNhRc78ngIxmKtJ7WH1CMEhs2I=; b=tAxd9GCKMXw19GR78aTyUxxK4bohW7U55DenEqHK2uEHTI8Fm81PKRBVzXtWZmjXGP c9w4SguBL1vqMRZ4buD3RiQkjBDyFyz9AeN3UcGW1oH3PJuWoSW4CI6nLc7uzuY+HFAX FNpSsDATG3V9eXNeqK2NS+XMjH3/JbRC8Jt9sykEFXvWcgDJUIKn451/wPVLlpdzkzwS 0AqIHNqggdpkJypPgc58FORCrilqUVMTvIYjH+39nZhtuOLjR+/c0+eqivSuj666MneU OZsRfJAcujQ+GgDM4rEa4/kJoC+KYGuQQHSIeQY0UDhinUfcjrn+W/h94xUJfinFeO/6 XTFQ== X-Gm-Message-State: APjAAAXPh1zy3f0o6qEihLdx8HMfMaqE7IaDwMvWc4IZiBAhA69Txgjx kXVB+4U0rQEkLumBnjM1dH78Kg== X-Received: by 2002:a2e:8310:: with SMTP id a16mr3673167ljh.48.1570653699554; Wed, 09 Oct 2019 13:41:39 -0700 (PDT) Received: from localhost.localdomain (168-200-94-178.pool.ukrtel.net. [178.94.200.168]) by smtp.gmail.com with ESMTPSA id h3sm730871ljf.12.2019.10.09.13.41.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2019 13:41:38 -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, ilias.apalodimas@linaro.org, sergei.shtylyov@cogentembedded.com, Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Subject: [PATCH v4 bpf-next 00/15] samples: bpf: improve/fix cross-compilation Date: Wed, 9 Oct 2019 23:41:19 +0300 Message-Id: <20191009204134.26960-1-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
samples: bpf: improve/fix cross-compilation
|
expand
|
On Wed, Oct 9, 2019 at 1:43 PM Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> wrote: > > No need to use C++ for test_libbpf target when libbpf is on C and it > can be tested with C, after this change the CXXFLAGS in makefiles can > be avoided, at least in bpf samples, when sysroot is used, passing > same C/LDFLAGS as for lib. > > Add "return 0" in test_libbpf to void warn, but also remove spaces at > start of the lines to keep same style and avoid warns while apply. > > Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> > --- Thanks for the clean up! Acked-by: Andrii Nakryiko <andriin@fb.com> [...]