mysql: don't allow selection when dependencies are missing
PATCH 1/1 mysql: don't allow selection when dependencies are missing
Commit 3d707d2b4f (mysql: rename package to oracle-mysql, make a virtual package) removed all dependencies of BR2_PACKAGE_MYSQL. Now BR2_PACKAGE_MYSQL is selectable when no actual implementation is selectable. This confuses packages like open2300 that expect mysql.h when BR2_PACKAGE_MYSQL is enabled. Make BR2_PACKAGE_MYSQL inherit the dependencies of BR2_PACKAGE_ORACLE_MYSQL, since oracle mysql is the default mysql implementation.
Fixes:
http://autobuild.buildroot.net/results/c4d/c4d86cad20251a690a1d99af3740f44435f6de13/
http://autobuild.buildroot.net/results/919/919ab62cedc25fc7c60864d99c208628edfbe472/
http://autobuild.buildroot.net/results/bb7/bb73189b9d0850c9c4ef89c7efab2c1a261700a7/
--- package/mysql/Config.in | 7 +++++++ 1 file changed, 7 insertions(+)
package/mysql/Config.in +7 -0
@@ -1,5 +1,12 @@ +comment "mysql support needs a toolchain w/ C++, threads" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS + config BR2_PACKAGE_MYSQL bool "mysql support" + depends on BR2_INSTALL_LIBSTDCPP # oracle mysql + depends on BR2_USE_MMU # oracle mysql + depends on BR2_TOOLCHAIN_HAS_THREADS # oracle mysql help Select the desired mysql provider.
Signature · 1 line
2.11.0
PATCH 1/1 mysql: don't allow selection when dependencies are missing
Quoted 7 lines · Baruch Siach
Commit
3d707d2b4f(mysql: rename package to oracle-mysql, make a virtual package) removed all dependencies ofBR2_PACKAGE_MYSQL. NowBR2_PACKAGE_MYSQLis selectable when no actual implementation is selectable. This confuses packages like open2300 that expectmysql.hwhenBR2_PACKAGE_MYSQLis enabled. MakeBR2_PACKAGE_MYSQLinherit the dependencies ofBR2_PACKAGE_ORACLE_MYSQL, since oracle mysql is the default mysql implementation.
Quoted 7 lines
Fixes:
http://autobuild.buildroot.net/results/c4d/c4d86cad20251a690a1d99af3740f44435f6de13/
http://autobuild.buildroot.net/results/919/919ab62cedc25fc7c60864d99c208628edfbe472/
http://autobuild.buildroot.net/results/bb7/bb73189b9d0850c9c4ef89c7efab2c1a261700a7/Cc Ryan Coe <[email protected]>Signed-off-by Baruch Siach <[email protected]>
Quoted 21 lines
--- package/mysql/Config.in | 7 +++++++ 1 file changed, 7 insertions(+)package/mysql/Config.in +7
-0@@ -1,5 +1,12 @@ +comment "mysql support needs a toolchain w/ C++, threads" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS + config BR2_PACKAGE_MYSQL bool "mysql support" + depends on BR2_INSTALL_LIBSTDCPP # oracle mysql + depends on BR2_USE_MMU # oracle mysql + depends on BR2_TOOLCHAIN_HAS_THREADS # oracle mysql help Select the desired mysql provider.