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

Maxime Ripard maxime.ripard at free-electrons.com
Fri Sep 30 21:48:22 UTC 2011


Hi,

Le 30/09/2011 21:44, Thomas Petazzoni a écrit :
> Le Wed, 28 Sep 2011 13:48:34 +0200,
> Maxime Ripard<maxime.ripard at free-electrons.com>  a écrit :
>> +config BR2_PACKAGE_LIBPLAYER_MPLAYER
>> +	depends on BR2_PACKAGE_MPLAYER
>> +	bool "Libplayer mplayer backend"
>> +
>> +config BR2_PACKAGE_LIBPLAYER_GSTREAMER
>> +	depends on BR2_PACKAGE_GSTREAMER
>> +	bool "Libplayer GStreamer backend"
>
> What happens if we select none of those backends ?

Hmmm, good question. I'll check.

>> +define LIBPLAYER_CONFIGURE_CMDS
>> +	(cd $(@D)&&  rm -rf config.cache&&  \
>> +	$(TARGET_CONFIGURE_OPTS) \
>> +	$(TARGET_CONFIGURE_ARGS) \
>> +	$(LIBPLAYER_CONF_ENV) \
>
> LIBPLAYER_CONF_ENV is not defined anywhere.

Ah, you're right, I missed that one.

>
>> +	./configure \
>> +		--prefix=/usr \
>> +		--cross-compile \
>> +		$(SHARED_STATIC_LIBS_OPTS) \
>> +		$(QUIET) $(LIBPLAYER_CONF_OPT) \
>> +	)
>
> This looks like a normal ./configure invocation. Why don't you use the
> default foo_CONFIGURE_CMDS provided by the autotargets infrastructure ?

The configure script breaks if we pass --target or --host, I did this to 
avoid it.

>> +ifeq ($(BR2_PACKAGE_LIBPLAYER_PYTHON),y)
>
> This option is not defined in your Config.in.

Ah, yup.

I'll resend the whole patchset once it will be updated.

Maxime



More information about the buildroot mailing list