From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 60E1BC433EF for ; Tue, 30 Nov 2021 19:23:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A0FB0802D6; Tue, 30 Nov 2021 20:23:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="oryVIaow"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6EEEE801E7; Tue, 30 Nov 2021 20:23:18 +0100 (CET) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 75673801E7 for ; Tue, 30 Nov 2021 20:23:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72c.google.com with SMTP id p4so28020672qkm.7 for ; Tue, 30 Nov 2021 11:23:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zr+J1U7boGYv04RXTGtBRLB8ZuUQ/sst502owKA4QSM=; b=oryVIaow7i4pxBlr7bOnt3fTmDY3COCZLQMnXn2jW0A9hp64b4iAGu5OuI6GIRqKO+ h8iW+kgjUSpqoSiJMGkFm5BuZnbj0Eqg7v4UiQJySooMRHPgCPrZmUpMT55cUBbl4tbM ngc2LFQjpkg+LYkRqM5eyLrNjLZFqLgNkbEZo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zr+J1U7boGYv04RXTGtBRLB8ZuUQ/sst502owKA4QSM=; b=1bAW+qM0G3kTGBSAD+1JoohJqanbOamIKrbuFWny56hDddz2VLTFm6r28Si7eoOtSl D6W/UL1+hXNcMvaM4d8SNi3Xbh8q61P876XBK9+iaRyJ8k/w6h5zKukjEeRJdgFr1ncu hHpdBns1OFvVod5G2l/j7icksEjC7If9iMPJZe2x5bIGJp5rr4AlXrbWduwXyUDbQOVg NTwAkM+4h5WjpkOA5Y4q1mfE8xmeiLzJtWce+wv9yfZp5CHYJCyYp24ZA5yyK1G9Jfu1 /fGT/KS4/1MWq3GNZS91Fqm454zhGLfClet6R0DdmpeFsEiYxNIQUsAAxqplFS6npvyV GMQw== X-Gm-Message-State: AOAM5333tVEWJKsB+ijgWw2wn8xs2Msx2XbH9KvADEO+pNtGv/SD74v9 MRBK8zFHjuQzljWgl89nQ7FE5A== X-Google-Smtp-Source: ABdhPJyfjXTqjk/lzmA7cE2wbNRhQwqenQDawljvW17debOIW9WItEzxIKYxtnappeuCx1JoYurTgg== X-Received: by 2002:a05:620a:2484:: with SMTP id i4mr1511536qkn.184.1638300193286; Tue, 30 Nov 2021 11:23:13 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-e478-4cc2-fb2f-8620.res6.spectrum.com. [2603:6081:7b01:cbda:e478:4cc2:fb2f:8620]) by smtp.gmail.com with ESMTPSA id r65sm10009248qke.85.2021.11.30.11.23.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 11:23:12 -0800 (PST) Date: Tue, 30 Nov 2021 14:23:11 -0500 From: Tom Rini To: Andy Shevchenko Cc: Andy Shevchenko , U-Boot Mailing List , Simon Glass Subject: Re: [PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...` Message-ID: <20211130192311.GL24579@bill-the-cat> References: <20211130184204.61707-1-andriy.shevchenko@linux.intel.com> <20211130185225.GJ24579@bill-the-cat> <20211130190648.GK24579@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/hGUqk7xVD71M303" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --/hGUqk7xVD71M303 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 30, 2021 at 09:10:11PM +0200, Andy Shevchenko wrote: > On Tue, Nov 30, 2021 at 9:06 PM Tom Rini wrote: > > On Tue, Nov 30, 2021 at 08:58:25PM +0200, Andy Shevchenko wrote: > > > On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote: > > > > On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote: > > > > > +# > > > > > +# Do not pollute source tree with cache files: > > > > > +# https://stackoverflow.com/a/60024195/2511795 > > > > > +# https://bugs.python.org/issue33499 > > > > > +# > > > > > +sys.pycache_prefix =3D os.path.relpath(os.path.dirname(sys.argv[= 0]), os.environ['srctree']) > > > > > + > > > > > # Bring in the patman and dtoc libraries (but don't override the= first path > > > > > # in PYTHONPATH) > > > > > our_path =3D os.path.dirname(os.path.realpath(__file__)) > > > > > > > > Do we need some wrapper around this so it doesn't blow up on older = than > > > > Python 3.8? > > > > > > Why does it blow? Some global variables which won't be used by older = versions. > > > > Does it? I don't know, I wasn't clear enough, sorry. What happens on > > an older python here? Silent ignore is fine. >=20 > Usually that's the idea that new features are hardly tried to be > backward compatible (yes, I know that the history of Python had a lot > of counter examples, but still). In any case, that one was never used > before. >=20 > You may try yourself, btw: >=20 > sys.foobar =3D "blablabla" Ah ok, thanks! --=20 Tom --/hGUqk7xVD71M303 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmGmehcACgkQFHw5/5Y0 tywdigv/dK122TYI19jL8llFCWDk2HQoUxPCwG1GYM7QqBZ3OxQwNEjn28B6sPcz t0yYV9N8ln6w+Q7JuWjbT3h2Xe4q64ynqYO0hSeFAHbUJhM0vqUuqoT0AaPxjFHG FN72LYGxCaTY1rUy0dNAVXLi1AJVEUB5KYxvdO9ivlAbOaX6w0DQfaWkQmgwG1kh 3EVyvWJk/sRgpxXvKZPUop2W0Khfs6JkbEueJI9ysSB3Gx+jRyJdkvG7WRq4p6+k ImTonTAr1RxmhrSspx6HSzHoJqaPo+Pn/Sm2uJl4VbHhTU1KYtw41eIT0hAkHuT+ EvPnzAIC7RdYnrp6SGiZzsHzwZWwN/dv40R/ZQ5zyMVN99cp1G5LMxeLzDnYWbMz te95jHrPnty+q8D7C6ZrBqV9Idtwcu2szb9dYdS3VKN6YkiEutzW0SPNA4szTqGZ 1J/GGMqhTpxYlW1gQF3VLVRoFO6KolUsdzcGzn6ePm9aeI7rmauSywCbFqjALPDj Q4DF8jxa =OALz -----END PGP SIGNATURE----- --/hGUqk7xVD71M303--