[Buildroot] [PATCH 2/6] package/mysql: unconditionally define host variables

Peter Korsgaard peter at korsgaard.com
Tue Nov 17 09:09:10 UTC 2015


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

 > To build the host-mysql, we only build parts of the source, just the
 > strictly minimum required to then cross-compile it.

 > However, the host variables (conf opts, build and install cmds) are only
 > defined when the mysql server is enabled in the configuration.

 > So, this breaks:
 >     make defconfig; make host-mysql

 > Even though it is not much use to have that partial host-mysql on its
 > own, it is still very interesting to be able to build it, if at least
 > for testing changes in the core package infrastructures (like new step
 > hooks or the likes...)

 > Move the definitions of the host variant out of the server conditional
 > block.

 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
 > Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 > Cc: Marcelo Gutiérrez(UTN/FRH) <kuyurix at gmail.com>

Committed with the comment suggested by Arnout added, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list