From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in2.apple.com (mail-out2.apple.com [17.151.62.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id ECCD282133 for ; Mon, 12 Dec 2016 09:27:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1481563637; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7s2Lmh4lVqn7X5b/voqxYWuEA7RI4yn13JR7k5hm8zE=; b=Qb5edrtCBuGATz23SZU9//Oi5ETg3UHtuKR25SIfy/ANrYOu/gePZlT1cS2nYHtH JjFI2/cV3bZeqeT8TJBeP+DyIiAFIjppnbFYoJxclyzdPhaPKkqbvCRrQIz96iVN PzHk9vv1cwpjBx6TtO5AcS+JFtyZDmVaSLLpb0IruXc17DUXmlmPCFOMd1JFoaTF rn7E/OjeNhroF5PndkyOHS+TRuL3sN7+gsa7xW7/IGf0rVcY0VUCgolCiejBGC0y wZdXI9yHledtAEV9Oo0AMAJYnat9et/neeq1xx1bCGXNB8iIS75J8ttoK6tCTa9A dh47We4pKV14MItyTSELUg==; Received: from relay2.apple.com (relay2.apple.com [17.128.113.67]) by mail-in2.apple.com (Apple Secure Mail Relay) with SMTP id 98.DE.19960.5FDDE485; Mon, 12 Dec 2016 09:27:17 -0800 (PST) X-AuditID: 11973e11-a8f129a000004df8-71-584eddf5713b Received: from nwk-mmpp-sz12.apple.com (nwk-mmpp-sz12.apple.com [17.128.115.204]) by relay2.apple.com (Apple SCV relay) with SMTP id DB.60.09148.5FDDE485; Mon, 12 Dec 2016 09:27:17 -0800 (PST) MIME-version: 1.0 Received: from [17.153.16.11] by nwk-mmpp-sz12.apple.com (Oracle Communications Messaging Server 8.0.1.1.0 64bit (built Jun 15 2016)) with ESMTPSA id <0OI300AWG1TGVT50@nwk-mmpp-sz12.apple.com>; Mon, 12 Dec 2016 09:27:17 -0800 (PST) Sender: afish@apple.com From: Andrew Fish In-reply-to: <98ff7c88cfa14fd68742142e48300697@R01UKEXCASM124.r01.fujitsu.local> Date: Mon, 12 Dec 2016 09:27:16 -0800 Cc: "edk2-devel@lists.01.org" Message-id: References: <98ff7c88cfa14fd68742142e48300697@R01UKEXCASM124.r01.fujitsu.local> To: "peter.kirmeier@ts.fujitsu.com" X-Mailer: Apple Mail (2.3226) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBLMWRmVeSWpSXmKPExsUi2FDorPv1rl+EweyZshZ7Dh1ltvi55yy7 A5NH9+x/LB7zj1xhD2CK4rJJSc3JLEst0rdL4MqY9nwZY8FhgYrHG2obGHfydjFyckgImEi8 +fiLpYuRi0NIYC+jxLSZTUwwiRvnX7NCJA4xShy++hUswSsgKPFj8j2gDg4OZgF5iYPnZUHC zAJaEt8ftUINesso0f5uBStIQlhAXOLdmU3MELa5xNsTJ9lAbDYBZYkV8z+wg9icAgES5xu2 gMVZBFQl9tzfxwgx1FxixoUvUHttJO6/+ww2R0jAX2LlhT1gN4gIOEtMfpMGYkoIyErM/uUF coKEwAY2iUkNH1gnMArPQnL1LISrZyG5egEj8ypGodzEzBzdzDwjvcSCgpxUveT83E2MoKCe bie4g/H4KqtDjAIcjEo8vAKb/CKEWBPLiitzDzFKc7AoifP2OXlHCAmkJ5akZqemFqQWxReV 5qQWH2Jk4uCUamAMuG3y95/eF80Tl3zS2utezN96PUm03Wypz9KlFz32V28IEFAprSlcNuHl +4scNiv0bQQS3DTYggQ+qNw0EUz4vdhQ/+PS/2XMdZ4hs07o/Wl+npC3+V9izC4/mdMHPNml H7DbXk7/W3oi+sEv7h+eaQIeP/qe3dn05rW7yK0rXeKTzWczBh1QYinOSDTUYi4qTgQAjBhY 3ksCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPLMWRmVeSWpSXmKPExsUi2FB8RvfrXb8Ig+dHJCz2HDrKbPFzz1l2 ByaP7tn/WDzmH7nCHsAUxWWTkpqTWZZapG+XwJUx7fkyxoLDAhWPN9Q2MO7k7WLk5JAQMJG4 cf41K4QtJnHh3nq2LkYuDiGBQ4wSh69+ZQJJ8AoISvyYfI+li5GDg1lAXuLgeVmQMLOAlsT3 R60sEPVvGSXa360AGyQsIC7x7swmZgjbXOLtiZNsIDabgLLEivkf2EFsToEAifMNW8DiLAKq Envu72OEGGouMePCF6i9NhL3330GmyMk4C+x8sIesBtEBJwlJr9JAzElBGQlZv/ymsAoOAvJ obMQDp2F5NAFjMyrGAWKUnMSK430EgsKclL1kvNzNzGCg7PQeQfjsWVWhxgFOBiVeHgFNvlF CLEmlhVX5gJDgoNZSYRX+zZQiDclsbIqtSg/vqg0J7X4EGMy0PUTmaVEk/OBkZNXEm9oYmJg YmxsZmxsbmJOmrCSOK+ls3eEkEB6YklqdmpqQWoRzBYmDk6pBkaF091iex23nQkK17lcbvl/ o0CRQ9M87eu+2xNs4t7pPd90bzZvUuo8rbWr956vuiQ3z4/LitWhd3H7tPsXt1vI7XO/Fta8 8lJnosqkszwaNh+95yRpRScXdTtcj2E+rHJ+fgP3g1P7ExdYvJ6z57PyzJ13zA4YndcwXbDk 5O7jaRY/U1c/f3VXiaU4I9FQi7moOBEA5D8rbZICAAA= Subject: Re: $ escape sequence at build_rule.txt X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 17:27:18 -0000 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII > On Dec 12, 2016, at 2:31 AM, peter.kirmeier@ts.fujitsu.com wrote: > > Hi all, > > I tried to add a AWK replacement into the build_rules to become part of the generated makefiles: > > > "$(TOOLS_DIR)\gawk.exe" "NF{gsub(/ *\\$$/,\"\"); print}" infile.in > outfile.out > > Unfortunately I don't get it, how the dollar sign can be escaped to the doubled $$ which is used by make for placing a single $ at the command. > > Can someone help? > Peter, Do you think the build_rules.txt parse is removing one of the $? I'm not sure if this will work but what happens if you use 4 $? What do you see in the generated makefile? Thanks, Andrew Fish > Thanks, > Peter > > --- > Peter Kirmeier > Senior Firmware Developer > Client Computing Devices Engineering > > FUJITSU > Buergermeister-Ulrich-Strasse 100, 86199 Augsburg, Germany > Tel.: +49 (821) 804 3227 > Fax: +49 (821) 804 83227 > E-mail: peter.kirmeier@ts.fujitsu.com > Web: ts.fujitsu.com > Company: Fujitsu Technology Solutions GmbH / ts.fujitsu.com/imprint > This communication contains information that is confidential, proprietary in nature and/or privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) or the person responsible for delivering it to the intended recipient(s), please note that any form of dissemination, distribution or copying of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender and delete the original communication. Thank you for your cooperation. > Please be advised that neither Fujitsu, its affiliates, its employees or agents accept liability for any errors, omissions or damages caused by delays of receipt or by any virus infection in this message or its attachments, or which may otherwise arise as a result of this e-mail transmission. > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel