Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp21165ybl; Thu, 29 Aug 2019 17:52:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAgUrqhsRpjy2X/uOkWg7CQCKq96kvvJ0eaHyivbLUXN1bTk3t0sfow9udLZgTComJ/ds/ X-Received: by 2002:a62:2aca:: with SMTP id q193mr15214906pfq.209.1567126368535; Thu, 29 Aug 2019 17:52:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567126368; cv=none; d=google.com; s=arc-20160816; b=EcA1pLgEVwdnKWhQtqp5bXPflzFcEebu4j1TOn3ojPI9GLL6BC0Q5LHKDYlXqZe+2U vxzaic6HZrSpByMje1pXi3JAFx0NhsriMzZgXOcdcBeE9AoDo9FV0UOiv1Vkkr3dllmS IufidOUsp9H7kme3yee7FS/vFPQdRQHgiF2jF2KbAgNUkGMFXVBWUJ0SYC1pcfGY3YBM KDV+qovfmhGTJKuTjGwzQYKdUUTJyqm7kwXazC0mlCpPDqYha7QNON2a195hRbRchI+e MEEqDMjW8E+Z0eKZ5CHxdvCoO7BGEANwZpx5QncMlpGmgaMrFjQUFozzZXhpIlTk09zk g9Pg== 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=jGmbuQhjfybpgV20Mr6h/vZA852gJhY9ROLsc2sx8l8=; b=QKxPn8tpWqM5+43PMaLGAOBjdXiuvmhVYg4ioeatUorvaC7YdViz2HS2OR4lvbgcHp 3wPOhZwzHe45dklxMSfS6ywsi7xvUxEU8RBjyWKwAuO7tvp9w5I2/5EZLzvxUhFGsYWO VoROjq96uH4Frc8TWVDdrpTxOFTTLQSOuYEQVbTqeZOzsbxAL/yyBpr+Hk+DbCTsiyy6 0nbUaJOsWB1lFqzSOgkrwjfue5tQ8eCNUu+3e9mbmJZNPFOUpbd3uAFHmUtwyodJV9U9 C/xm6JmWc2GYUlDjge/XiBmLdIc1k1Xb6lUgwUI1XptV1jAxYVaFZNeN8UO5XdiONKto Y09g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pWeUz6Fu; 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 t11si3555746pjq.80.2019.08.29.17.52.32; Thu, 29 Aug 2019 17:52:48 -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=pWeUz6Fu; 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 S1728062AbfH3AvY (ORCPT + 99 others); Thu, 29 Aug 2019 20:51:24 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:41595 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727731AbfH3Auv (ORCPT ); Thu, 29 Aug 2019 20:50:51 -0400 Received: by mail-lj1-f193.google.com with SMTP id m24so4807813ljg.8 for ; Thu, 29 Aug 2019 17:50:50 -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=jGmbuQhjfybpgV20Mr6h/vZA852gJhY9ROLsc2sx8l8=; b=pWeUz6Fu6QfaqIpkcQ5NkN8S1IH2Rw5H5SVVq3jN6Pe8GO4Z0AVQ8kjAJ1nWq/suUY iy5IGz6OJY/dKJgiOzw4G0pKMu1jIKXgSEsnZrYt8T+GOll/c7PoRUL0YOgbZSy9nloJ xQxd5OltyxyzW8UXtE9De6EMr0kC0GBlbZxjYBn+ldgJ4QDJW8JzaEcfhzz1wiSK9Dz5 oXvnGjkb0/kodZDij7wbzY6bjZCsk+fZ1wdt4Hs8Okzlc+qRp1IHk7T8NLEWCvIR0xTc MloaK1lal5Wj6DiZQlLT3eOYVu3I68zMpgnlI+8rf0f0TnmBXaCq/zCKadOxwP6syzE7 hEMw== 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=jGmbuQhjfybpgV20Mr6h/vZA852gJhY9ROLsc2sx8l8=; b=i2AZQPLmlvS8Hj4EBbtDFB5iUwO8Vrn5Yqi9R1gjGwhSGuXPpebavHkaPlQN2fulxZ MJxGocRDas7ml6JF0CQllU9G9VxJmlgomQaG4xgm/aGr7onLO0YEaOeyN9Ko+7u80F6C qGOU/9xc1eHMcru2Q/pF3FpjSzCYElUoV2T026y+w4dli2RGnGD3JmSuL18IrBurFln0 Vxdmbjtl9bU6rP085EKr60IcGN8ce0AeTbNdx3rCR37JM7kMPvpu7NW3BX703/2QOflX Q4fLYsZ4q5wluirooAys90UUq1KNbqEdonc/vyjC4qzxCQaX7mvmYIJeRLad1fjMVEVA SCzw== X-Gm-Message-State: APjAAAUflFnKRu0QX/i26zx1kPhJkYuhkk3gimzBUEfQbGuNmANTJpsn QEr9AIC+v5y5h1LtEaGmVlbmTg== X-Received: by 2002:a2e:b004:: with SMTP id y4mr6683248ljk.124.1567126249466; Thu, 29 Aug 2019 17:50:49 -0700 (PDT) Received: from localhost.localdomain (168-200-94-178.pool.ukrtel.net. [178.94.200.168]) by smtp.gmail.com with ESMTPSA id f19sm628149lfk.43.2019.08.29.17.50.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2019 17:50:48 -0700 (PDT) From: Ivan Khoronzhuk To: linux@armlinux.org.uk, 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-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, clang-built-linux@googlegroups.com, Ivan Khoronzhuk Subject: [PATCH RFC bpf-next 06/10] samples: bpf: makefile: fix HDR_PROBE Date: Fri, 30 Aug 2019 03:50:33 +0300 Message-Id: <20190830005037.24004-7-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190830005037.24004-1-ivan.khoronzhuk@linaro.org> References: <20190830005037.24004-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 replace 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