[Buildroot] [PATCH 1/1] refpolicy: bump to 2.20170805
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Nov 3 17:56:19 UTC 2017
Hello,
On Fri, 3 Nov 2017 08:58:56 -0400, Adam Duskett wrote:
> +ifeq ($(BR2_PACKAGE_PYTHON3),y)
> +REFPOLICY_DEPENDENCIES += host-python3
> +REFPOLICY_PYTHON="$(HOST_DIR)/bin/python(PYTHON3_VERSION_MAJOR)"
> +else
> +REFPOLICY_DEPENDENCIES += host-python
> +REFPOLICY_PYTHON="$(HOST_DIR)/bin/python(PYTHON_VERSION_MAJOR)"
> +endif
I'm not sure why this is needed. Indeed, if BR2_PACKAGE_PYTHON3=y,
$(HOST_DIR)/bin/python points to python3, and if
BR2_PACKAGE_PYTHON=y, $(HOST_DIR)/bin/python points to python2.
Therefore, you should be able to just use $(HOST_DIR)/bin/python.
Could you try that instead?
Also, please answer Matt's concerns before sending a v2. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list