From patchwork Tue Aug 23 08:02:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ash Benz X-Patchwork-Id: 661731 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sJNJn2HMhz9sCp for ; Tue, 23 Aug 2016 18:04:57 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=bk.ru header.i=@bk.ru header.b=Z7ITucz5; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bc6fJ-0005K5-9o; Tue, 23 Aug 2016 08:02:33 +0000 Received: from smtp24.mail.ru ([94.100.181.179]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bc6fE-00059i-5i for lede-dev@lists.infradead.org; Tue, 23 Aug 2016 08:02:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bk.ru; s=mail; h=Message-Id:Date:Subject:Cc:To:From; bh=rmDu7ygRA69q6WGV8RgZUbMtXakVFW0htUw26dus1/4=; b=Z7ITucz5WHf/dgBDP/hhkc7Eb+5YNaGDaCSQarDPDVrtiLrZReffiQxtUxUDwJ3td5fu0FdDNq3TQCAgHZd41CIFZZbZPh007NvmW3XD79iHRQGVIZYtVzzfPAbtpMLDnTGkt0xLo+DU3XOM4UK3WwWqrj+zshJRp2SrRn5njI8=; Received: from [175.139.29.60] (port=57883 helo=builder.lan) by smtp24.mail.ru with esmtpa (envelope-from ) id 1bc6ep-0000T2-AF; Tue, 23 Aug 2016 11:02:04 +0300 From: Ash Benz To: lede-dev@lists.infradead.org Date: Tue, 23 Aug 2016 16:02:13 +0800 Message-Id: <1471939333-956-1-git-send-email-ash.benz@bk.ru> X-Mailer: git-send-email 2.1.4 X-Mailru-Sender: 18CDF57118BCB16C3F6B2C9C75F616E69F588731D9B5C57D7A774BB3F419F617431B4354A719FC5F074A40F52AF1438D X-Mras: OK X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160823_010228_696987_0F9F1B5A X-CRM114-Status: UNSURE ( 3.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [94.100.181.179 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid Subject: [LEDE-DEV] [PATCH] Use printf instead of echo. X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ash Benz MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org On some systems the shell built-in echo is used while on others /bin/echo and those two are not identical; this causes incomplete .cflags generation on some systems. Signed-off-by: Ash Benz --- package/network/services/hostapd/patches/200-multicall.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/network/services/hostapd/patches/200-multicall.patch b/package/network/services/hostapd/patches/200-multicall.patch index 8b260c2..ddfec6e 100644 --- a/package/network/services/hostapd/patches/200-multicall.patch +++ b/package/network/services/hostapd/patches/200-multicall.patch @@ -54,10 +54,10 @@ endif +dump_cflags: -+ @echo -n $(CFLAGS) " " ++ @printf "%s " $(CFLAGS) + +dump_ldflags: -+ @echo -n $(LDFLAGS) $(LIBS) $(EXTRALIBS) " " ++ @printf "%s " $(LDFLAGS) $(LIBS) $(EXTRALIBS) + nt_password_hash: $(NOBJS) $(Q)$(CC) $(LDFLAGS) -o nt_password_hash $(NOBJS) $(LIBS_n) @@ -142,10 +142,10 @@ @$(E) " sed" $< +dump_cflags: -+ @echo -n $(CFLAGS) " " ++ @printf "%s " $(CFLAGS) + +dump_ldflags: -+ @echo -n $(LDFLAGS) $(LIBS) $(EXTRALIBS) " " ++ @printf "%s " $(LDFLAGS) $(LIBS) $(EXTRALIBS) + wpa_supplicant.exe: wpa_supplicant mv -f $< $@