python: fix kconfig dependencies for extension modules
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 27 May 2009 05:02:30 +0000 (07:02 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 27 May 2009 05:02:57 +0000 (07:02 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/python/Config.in

index 63aeb315610412e1db2cde935600e08ffe6b6819..4b1735e369a404a4b71451cc4dca887ff453d538 100644 (file)
@@ -35,6 +35,7 @@ comment "The following modules are unusual or require extra libraries"
 
 config BR2_PACKAGE_PYTHON_BSDDB
        depends on BR2_PACKAGE_PYTHON
+       select BR2_PACKAGE_BERKELEYDB
        bool "bsddb module"
        help
          bsddb module for Python.
@@ -48,6 +49,7 @@ config BR2_PACKAGE_PYTHON_CODECSCJK
 
 config BR2_PACKAGE_PYTHON_CURSES
        depends on BR2_PACKAGE_PYTHON
+       select BR2_PACKAGE_NCURSES
        bool "curses module"
        help
          curses module for Python.
@@ -66,12 +68,14 @@ config BR2_PACKAGE_PYTHON_NIS
 
 config BR2_PACKAGE_PYTHON_PYEXPAT
        depends on BR2_PACKAGE_PYTHON
+       select BR2_PACKAGE_EXPAT
        bool "pyexpat"
        help
          pyexpat module for Python.
 
 config BR2_PACKAGE_PYTHON_READLINE
        depends on BR2_PACKAGE_PYTHON
+       select BR2_PACKAGE_READLINE
        bool "readline"
        help
          readline module for Python (required for command-line
@@ -79,12 +83,14 @@ config BR2_PACKAGE_PYTHON_READLINE
 
 config BR2_PACKAGE_PYTHON_SSL
        depends on BR2_PACKAGE_PYTHON
+       select BR2_PACKAGE_OPENSSL
        bool "ssl"
        help
          _ssl module for Python (required for https in urllib etc).
 
 config BR2_PACKAGE_PYTHON_TKINTER
        depends on BR2_PACKAGE_PYTHON
+       select BR2_PACKAGE_TCL
        bool "tkinter module"
        help
          tkinter module for Python.