[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
kpa_info at yahoo.fr
Tue Feb 12 14:02:09 UTC 2013
On 02/12/2013 01:49 PM, Thomas Petazzoni wrote:
> 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?
This is not so complicated, I have only moved some lines from
package/Config.in, package/python/Config.in and
package/python3/Config.in to package/python-generic/Config.in and added
few lines to handle the "choice" menu.
I have tried as you suggest but it have some strange behaviour...
If you care about the python-generic directory we need it also to add
some "common" stuff to handle properly the support of both python's
version by the external packages.
More information about the buildroot