[Buildroot] [PATCH 2/2] Add HW decoding support for Hantro x170

Alexandre Belloni alexandre.belloni at piout.net
Tue Feb 5 20:41:30 UTC 2013


On Mon, Feb 04, 2013 at 11:51:09PM +0100, Thomas Petazzoni wrote :
> > +
> Please add a justification here in a short comment before the
> _AUTORECONF option to explain why it's needed. Normally, it's not
> needed for tarballs when no patches are applied, so we try to give a
> short justification through a comment.

There is no configure script in the archive so you basically have to run
autoreconf to be able to build.

> > +GST_PLUGIN_X170_DEPENDENCIES = gstreamer libglib2 on2-8170-libs
> > +
> > +GST_PLUGIN_X170_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/glib-2.0 -I$(STAGING_DIR)/usr/lib/glib-2.0/include -I$(STAGING_DIR)/usr/include/gstreamer-0.10 -I$(STAGING_DIR)/usr/include/libxml2/"
> Isn't the configure script capable it detecting those libraries? What
> fails if you don't add all those -I values?

The configure script itself seems to be able to find the includes
correctly but the include path is limited to . and .. when compiling so
I had to force the -I at configure.

It may be related to the way I'm using autoreconf. I think that package
is expectig you to use gst-autogen.sh to do that but I could'nt get that
to work.

Alexandre Belloni

More information about the buildroot mailing list