[Buildroot] [PATCH 1/5] In order to have a better support for python external package make the python menu clearer. Python2 and Python3 are now mutually exclusive

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Feb 12 12:49:52 UTC 2013


Dear Patrick Gerber,

On Tue, 12 Feb 2013 13:24:05 +0100, Patrick Gerber wrote:
> 
> Signed-off-by: Patrick Gerber <kpa_info at yahoo.fr>
> ---
>  package/Config.in                |   19 +------------
>  package/python-generic/Config.in |   56 ++++++++++++++++++++++++++++++++++++++
>  package/python/Config.in         |   14 ----------
>  package/python3/Config.in        |   14 ----------
>  4 files changed, 57 insertions(+), 46 deletions(-)
>  create mode 100644 package/python-generic/Config.in

This seems really complicated. Can't we just have a depends
on !BR2_PACKAGE_PYTHON in the python3 package, and a depends
on !BR2_PACKAGE_PYTHON3 in the python package?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list