From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Increase robustness of nmake BaseTools build for space also used by make To: devel@edk2.groups.io From: "Burt Silverman" X-Originating-Location: Durham, North Carolina, US (99.140.244.200) X-Originating-Platform: Windows Firefox 68 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Sat, 07 Sep 2019 15:10:23 -0700 Message-ID: <7072.1567894223278481314@groups.io> X-Groupsio-MsgNum: 47004 Content-Type: multipart/mixed; boundary="UitOgw6pUt4ePTlztdjJ" --UitOgw6pUt4ePTlztdjJ Content-Type: multipart/alternative; boundary="nJc2jPd2DjfuuQ3L7ygt" --nJc2jPd2DjfuuQ3L7ygt Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Burt Silverman Date:=C2=A0=C2=A0 Sat Sep 7 16:33:53 2019 -0400 Improve robustness for multiple build environments When building BaseTools, GNUmakefile builds create directory BaseTools/Source/C/libs/. On the other hand, Makefile builds use libs as an nmake pseudo target, so it either must NOT exist as a file or directory, OR it must phony dependency like .PHONY. The latter solution conflicts with NmakeSubdirs.py. Therefore, I make it go away in the cleanall target. I could also add it to the clean target, but it strikes me that cleanall should be more forceful. Signed-off-by: Burt Silverman --nJc2jPd2DjfuuQ3L7ygt Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Burt Silverman <burtms@gmail.com>
Date:   Sat = Sep 7 16:33:53 2019 -0400

    Improve robustness = for multiple build environments

    When building= BaseTools, GNUmakefile builds create directory
    Bas= eTools/Source/C/libs/. On the other hand, Makefile builds use libs
&nb= sp;   as an nmake pseudo target, so it either must NOT exist as a= file or
    directory, OR it must phony dependency lik= e .PHONY. The latter
    solution conflicts with NmakeS= ubdirs.py. Therefore, I make it go away
    in the clea= nall target. I could also add it to the clean target, but
  =   it strikes me that cleanall should be more forceful.

&nbs= p;   Signed-off-by: Burt Silverman <burtms@gmail.com> --nJc2jPd2DjfuuQ3L7ygt-- --UitOgw6pUt4ePTlztdjJ Content-Type: application/octet-stream; name="0001-Improve-robustness-for-multiple-build-environments.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-Improve-robustness-for-multiple-build-environments.patch" RnJvbSAyMWRiOTM5OTIzNDcwNTU0OWY1MThlYzE4MzgxOTlhZDY3NWQxZmFmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBCdXJ0IFNpbHZlcm1hbiA8YnVydG1zQGdtYWlsLmNvbT4KRGF0 ZTogU2F0LCA3IFNlcCAyMDE5IDE2OjMzOjUzIC0wNDAwClN1YmplY3Q6IFtQQVRDSF0gQmFzZVRv b2xzOiBSb2J1c3RuZXNzIGZvciBtdWx0aXBsZSBidWlsZCBlbnZpcm9ubWVudHMKCldoZW4gYnVp bGRpbmcgQmFzZVRvb2xzLCBHTlVtYWtlZmlsZSBidWlsZHMgY3JlYXRlIGRpcmVjdG9yeQpCYXNl VG9vbHMvU291cmNlL0MvbGlicy8uIE9uIHRoZSBvdGhlciBoYW5kLCBNYWtlZmlsZSBidWlsZHMg dXNlIGxpYnMKYXMgYW4gbm1ha2UgcHNldWRvIHRhcmdldCwgc28gaXQgZWl0aGVyIG11c3QgTk9U IGV4aXN0IGFzIGEgZmlsZSBvcgpkaXJlY3RvcnksIE9SIGl0IG11c3QgcGhvbnkgZGVwZW5kZW5j eSBsaWtlIC5QSE9OWS4gVGhlIGxhdHRlcgpzb2x1dGlvbiBjb25mbGljdHMgd2l0aCBObWFrZVN1 YmRpcnMucHkuIFRoZXJlZm9yZSwgSSBtYWtlIGl0IGdvIGF3YXkKaW4gdGhlIGNsZWFuYWxsIHRh cmdldC4gSSBjb3VsZCBhbHNvIGFkZCBpdCB0byB0aGUgY2xlYW4gdGFyZ2V0LCBidXQKaXQgc3Ry aWtlcyBtZSB0aGF0IGNsZWFuYWxsIHNob3VsZCBiZSBtb3JlIGZvcmNlZnVsLgoKU2lnbmVkLW9m Zi1ieTogQnVydCBTaWx2ZXJtYW4gPGJ1cnRtc0BnbWF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