On Sat, 24 Aug 2019 at 08:32, <tony.ngu...@bt.com> wrote: > > -echo "PYTHON_VERSION=$python_version" >> $config_host_mak > > +echo "PYTHON2=$python2" >> $config_host_mak > ... > > -ifneq ($(findstring v2,"v$(PYTHON_VERSION)"),v2) > > +ifneq ($(PYTHON2),y) > > Succinctly, if Python 3. > > We can further ween the world off Python 2 by replacing python2="y" for > python3="y" and PYTHON2 for PYTHON3.
I don't think it's a big deal which way round we do this, because once we drop Python 2 support the if and the variable will just be deleted entirely. thanks -- PMM