Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp24724ybe; Wed, 4 Sep 2019 14:24:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqz51eRbw2Zisaty3OkvCQ6AaXXs2hlPqJZmfyVvLJn/WQZC3A5rvPa1PMwqsuJ7zfUVa2qi X-Received: by 2002:a17:902:20c2:: with SMTP id v2mr39236271plg.209.1567632274253; Wed, 04 Sep 2019 14:24:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567632274; cv=none; d=google.com; s=arc-20160816; b=nd+2GVVNayRiZpRnwiwoKOCK3qEbQK5VoXJOLSY+3cPRwhkB7t/fFemd3K/7QYYMqt C9ivURsWBJoSoYr+zpn0W9AV1BvQxS54HQlYtIisBaUv6IxaZJbBT4fz8aYYui0pEEqf YGmBheElEdPQJaQN3ScdS9cUraDjZt1cjtZgt1c5fxphVSUu43SdIXujDG7XLOqqROwM HGImcHtkcqw5XRhiHhDmZP0HLB80EptjPiVFsG+CJ53ZKZlBq/0Z2ybc2GEocmOE5M5K OJmImO0ERGGao0z6T0kdxZE3woW+lX1fOMnKTbV6oor2BTqoLlY1015JqXtOjwo81DMk mVVA== 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=iQdFKRCdsWomZgjBMZ1BG8YTrJG1Rf0I+zDwJUFyFFw=; b=waNXW3WfifQrURNHVL0Gfh1bUGA2AwMiX8NYYKjew4Zbhfrc7NJ20pg7M9G/n8fS+y g9Kjs4CEQzE22DNz/zVpzxXTq/xcR176kz2L6XQIFrryMh5JCQC3bZaP5juo6009tAp6 wbSppzjFxQseLMwT+Z5W7Dr75Zzk3T7kpUzLpdF9zHoTNnlupE+MyTcZ3Yr2w6lvR77Z bHacFvCKinCiyVb+eEUV/hueZdABQLnaUpCoTivtou/GB0ScFXl+k9fg5l3bYckGovpH c39zD6T/yXVDZ6WNXP4XvFFdbIqt9wuNfXmNwevu2gttul0/egxbt4idK0Fc/38ShTTn aUZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w9EqOn0Y; 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 b18si17960835pgl.52.2019.09.04.14.24.19; Wed, 04 Sep 2019 14:24:34 -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=w9EqOn0Y; 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 S1730633AbfIDVXL (ORCPT + 99 others); Wed, 4 Sep 2019 17:23:11 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:42652 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730453AbfIDVXK (ORCPT ); Wed, 4 Sep 2019 17:23:10 -0400 Received: by mail-lj1-f193.google.com with SMTP id y23so171460lje.9 for ; Wed, 04 Sep 2019 14:23:08 -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=iQdFKRCdsWomZgjBMZ1BG8YTrJG1Rf0I+zDwJUFyFFw=; b=w9EqOn0YY7I/TacD6X6Vjc8n258l7Gc09N11miWY40kBi9+VSoXN++YMfJIjBwnOgK U3UYsWfJKg5xSFSiqtIdn4vm09vAxP+kColVZvJOAOebO8/IuymQKm31SLCXRQOaTCD2 RQ504SX7sSFVdtdwg/+sjWtzgKM9iIoaVLhnL6YyxtwAEBniaR7JWdJ7xfs5miGI91St mWtVSdMkew7dInOa2/bLuyKOckX3QvgY72z4nrryE/Ox706S8eJcxRziKI+q9XvhULll rTMbm4Ywygv/OTteQSOBuv5RG7t75vFyKH3z9GaYJCB4IXyIJFSFqpi4UiXk/eIRbuga Vn+A== 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=iQdFKRCdsWomZgjBMZ1BG8YTrJG1Rf0I+zDwJUFyFFw=; b=OnB9qnsMn+qNMnyapxC8vZdukEK4zelgvFvtkxbW1Qy/jm/9+hhHa+zIrVk+I3Rxpl W3VUJXtg1BBk3lmDkRrqh5fKV+1tvkIiK3Ola+Vn4dTQdxxtazTbng8CaA/axT327Kjk K+QOwRnAOS7z6mbiJkaUuvy93iUkc+Sr6QFrioJYqDx4E1FuW7iATlRsvEIjqOaGx+xY nOkroiiRls6NRbkn9a1LmNySMO7zt9p5cur/CO/7EUfXYM/hqvGXaOvXebcJPEexqh28 Cbxc+OBMy6qYDgFkerIeGW6qn7g37Jzek4LGI2t0M6xlg3iw1zGjp0iNv6UuIIA2hBbR +Ixg== X-Gm-Message-State: APjAAAUVvFNDv/Lm0hZS3rbtpilc9l2BMzCT5ZygikjrhV8q9DAxSEM3 3eV7j2eDGyDKzHml70UNIG/LSA== X-Received: by 2002:a2e:5358:: with SMTP id t24mr15379944ljd.209.1567632188285; Wed, 04 Sep 2019 14:23:08 -0700 (PDT) Received: from localhost.localdomain (168-200-94-178.pool.ukrtel.net. [178.94.200.168]) by smtp.gmail.com with ESMTPSA id s8sm3540836ljd.94.2019.09.04.14.23.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2019 14:23:07 -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 6/8] samples: bpf: makefile: fix HDR_PROBE "echo" Date: Thu, 5 Sep 2019 00:22:10 +0300 Message-Id: <20190904212212.13052-7-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190904212212.13052-1-ivan.khoronzhuk@linaro.org> References: <20190904212212.13052-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 9232efa2b1b3..043f9cc14cdd 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -208,7 +208,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