[Buildroot] [PATCH 4/4] Add the libplayer package

Peter Korsgaard jacmet at uclibc.org
Thu Oct 6 08:47:36 UTC 2011

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:


 Maxime> +comment "Libplayer requires a toolchain with LARGEFILE support"
 Maxime> +	depends on !BR2_LARGEFILE
 Maxime> +
 >> This should go under the 'if BR2_PACKAGE_LIBPLAYER' conditional.

 Thomas> Hu ? We want this comment to be shown when libplayer is *not* enabled,
 Thomas> to let the user know that if (s)he doesn't see libplayer, it's because
 Thomas> largefile is not enabled. So definitely, we don't want this comment to
 Thomas> depend on BR2_PACKAGE_LIBPLAYER. Or am I missing something here ?

No, just me not thinking. Nothing to see here, move along .. ;)

 >> Does libplayer do anything sensible with both backends disabled or do we

 Thomas> I did ask the same question to Maxime, and libplayer builds fine with
 Thomas> neither backends enabled. It probably doesn't do anything useful, but I
 Thomas> would say that it's the user responsibility here.


 >> So it seems you need to depend on BR2_LARGEFILE.

 Thomas> Which it does:

 Maxime> +config BR2_PACKAGE_LIBPLAYER
 Maxime> +	depends on BR2_LARGEFILE

Argh, you're right. I need some more sleep it seems (or atleast stop
trying to do 5 things at once). When testing, I didn't run menuconfig
but just 'make libplayer' and my toolchain didn't have largefile

Sorry about the noise, will commit now - Thanks both.

Bye, Peter Korsgaard

More information about the buildroot mailing list