Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5558058ybe; Tue, 10 Sep 2019 05:44:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzI2JUbz0pQORTB4C6i1bWE44Qi94uarOGllUMq4a4irwStKP44+SFAQSFvlY5Vbe73nliq X-Received: by 2002:a17:906:694:: with SMTP id u20mr21157676ejb.83.1568119462964; Tue, 10 Sep 2019 05:44:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568119462; cv=none; d=google.com; s=arc-20160816; b=EejGCx7mGK/3mnUWyuzIMOmm/vgO9Hx1KDyF8sSQ1WF4YBWjZ6YMDRbrFZtSCuhHTj TUy/ZuuiMV2CEJeLNg3aVqsi3mTbifb/I++NgNh2JYqQqT6aJMzgKzCuJuHC/4nV6MFe IsvXJAZA34BdSQyMe2N7pCf4+r61YP9PdzeTrB+YirrNayy4URzWn06udiQqTCnBcsdz xSBClG5BQhvw6elaY/etZU58NNGIXC8UVT2A1/3fucr091ABrRNuFbVTxAH2VzPt6R6Z kKpWgDMLD2khHrL7upcFU0Lhr1zBhr4u58JRPy4dong2UaVa9KHgAwLwKK3u4hNcxsq4 jvLA== 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=NGKQzll/A9IaEu36OmTkFVayy8Bwv+m3n0iuRSm1M6Y=; b=AqxXnyBAsnN6Qdpqe2jBxXcwo+FmgqioVkmXHlVEepbCi1SrrbZ851qjYaksK5Pblh bccZa4HYxHPhEHiiI0hE0lR9y/iYL+Io8x1ln226Qa2cIYW/wWcCR/zJotnBKFOD5VO8 ijrPcoP4RAjXLsBGsyuGq/BGYq+jQW/Qsn9LgKT3V4NdFyzmvDDm4De1xzzA72/z3iJy 3J7Wibef7O1AqjQ7rX3jIU+q7O5ymg8G0qNFILGOKHuMWtRs8RUBeCvqkdl250MSDaPH iHC17b2nWciY3ddhUCQEW/UVjX7z23qaOpFE792K0CrAiObcvoudin8GQZtiYjgx0xFB XaWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ABzAt76o; 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 i10si7019182ejc.83.2019.09.10.05.43.57; Tue, 10 Sep 2019 05:44:22 -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=ABzAt76o; 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 S2392708AbfIJKik (ORCPT + 99 others); Tue, 10 Sep 2019 06:38:40 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:45931 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388984AbfIJKik (ORCPT ); Tue, 10 Sep 2019 06:38:40 -0400 Received: by mail-lj1-f196.google.com with SMTP id q64so5343711ljb.12 for ; Tue, 10 Sep 2019 03:38:39 -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=NGKQzll/A9IaEu36OmTkFVayy8Bwv+m3n0iuRSm1M6Y=; b=ABzAt76oNXU0+8r79M+Uq/vNmBPlKtTMxdiCXMEvHZE5RCKq3QqV2iBKiCEqCQMDfD 5MRDIcIUmhICZ3oxwsncRXUExmaAd9uO3zO0pf2FzyrZMXEgHWGUsMrthX1YCuT8uNr8 Fy0s+pdJsRFxY31Gq1uTHRY9vyjkZ4Lx/gplROpBnTB/nyNhoWEI9RhKa13TJTdcaqC9 qsDUhmIGRXpmc/qhpPCYEP73F4LEXLy/8Q1Cw3S1pNBR2BYa3qjcBMPKNVQUbuY7MZyb DEINpV16u8PrEGM44UFFxvEoPR+mFi0diwU1Esg8Xd3hntXMUtO/QSHNxqgy9MXXYTPm aZLw== 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=NGKQzll/A9IaEu36OmTkFVayy8Bwv+m3n0iuRSm1M6Y=; b=oJfX/eI7is2UBHuYKgTexX5+BkrydJuaOWeWNoD5JXSLGpuMR8bgIjxXYTSyW8KEC+ rDwuR+RbLATCNCy6EnSGQbjLT34kS3cqHQG+Y2Ho8oOV1lvZpHwHMBbhGP5hv4077r/i TsvFvy1zj3P3wsY4MTQZ5EDM/Lw1oGkqOYsW1MN3OzQ3khE5P7BtoDFHfDBp2+OZptKk rijfgAEifWiRj3Gv5vcBoTXx2fzVUDJR7kcgXXDEWWXfiGbB+OpqNRdGYESC0mMYr5AL 2QttP+TlTvlkjB/XvIQeRqA9cVB+sdUsB/0kwRyFLUIrHjDppkvRA64Nii9DKngjTAq6 EqQQ== X-Gm-Message-State: APjAAAWNsVfw1N6kyWksBLdWcREw9id7qTO3rwryPhmcLeFlNGoQs0u2 a0Pz+Ei54Kf4icRP8BKi0y1zJA== X-Received: by 2002:a2e:5456:: with SMTP id y22mr19750906ljd.60.1568111918957; Tue, 10 Sep 2019 03:38:38 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2019 03:38:38 -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 01/11] samples: bpf: makefile: fix HDR_PROBE "echo" Date: Tue, 10 Sep 2019 13:38:20 +0300 Message-Id: <20190910103830.20794-2-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 echo should be replaced on echo -e to handle \n correctly, but instead, replace it on printf as some systems can't handle echo -e. 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 1d9be26b4edd..f50ca852c2a8 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -201,7 +201,7 @@ endif # Don't evaluate probes and warnings if we need to run make recursively ifneq ($(src),) -HDR_PROBE := $(shell echo "\#include \n struct list_head { int a; }; int main() { return 0; }" | \ +HDR_PROBE := $(shell printf "\#include \n struct list_head { int a; }; int main() { return 0; }" | \ $(HOSTCC) $(KBUILD_HOSTCFLAGS) -x c - -o /dev/null 2>/dev/null && \ echo okay) -- 2.17.1