Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@piout.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] Add HW decoding support for Hantro x170
Date: Tue, 5 Feb 2013 21:41:30 +0100	[thread overview]
Message-ID: <20130205204129.GA24385@piout.net> (raw)
In-Reply-To: <20130204235109.5d1b85f7@skate>

Hi,

On Mon, Feb 04, 2013 at 11:51:09PM +0100, Thomas Petazzoni wrote :
> > +
> > +GST_PLUGIN_X170_AUTORECONF = YES
> > +GST_PLUGIN_X170_AUTORECONF_OPT = -Im4/
> 
> 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

  reply	other threads:[~2013-02-05 20:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04 22:26 [Buildroot] [PATCH 1/2] Add defconfig for ATMEL at91sam9g45m10ek board Alexandre Belloni
2013-02-04 22:26 ` [Buildroot] [PATCH 2/2] Add HW decoding support for Hantro x170 Alexandre Belloni
2013-02-04 22:51   ` Thomas Petazzoni
2013-02-05 20:41     ` Alexandre Belloni [this message]
2013-04-29 13:12     ` Simon Dawson
2013-04-29 13:20       ` Peter Korsgaard
2013-04-28 19:00   ` Peter Korsgaard
2013-05-25 22:41     ` Alexandre Belloni
2013-04-28 18:57 ` [Buildroot] [PATCH 1/2] Add defconfig for ATMEL at91sam9g45m10ek board Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130205204129.GA24385@piout.net \
    --to=alexandre.belloni@piout.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox