* mysql dislikes parallel compilation, so set PARALLEL_MAKE = ""
* the mysql-native helper binaries reference ${WORKDIR}, so implement a custom, empty do_rm_work() method
This will need further thought when packaged-staging(2) is used
SECTION = "console/network"
require mysql_${PV}.bb
inherit native
-PR="r3"
+PR="r4"
RDEPENDS_${PN} = ""
do_install() {
:
}
+
+
+# Mysql tries to access the ${WORKDIR} from this build..
+do_rm_work() {
+ :
+}
INITSCRIPT_NAME = "mysqld"
INITSCRIPT_PARAMS = "start 45 S . stop 45 0 6 1 ."
+PARALLEL_MAKE = " "
EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'"
EXTRA_OECONF = " --with-embedded-server --prefix=/usr --sysconfdir=/etc/mysql --localstatedir=/var/mysql --datadir=/var/mysql --disable-dependency-tracking --without-raid --without-debug --with-low-memory --without-query-cache --without-man --without-docs --without-innodb "