All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kyle Sulek <kylesulek@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] How do I pass arguments into autoconfig tools ./confgiure
Date: Mon, 6 Nov 2017 21:25:49 -0600	[thread overview]
Message-ID: <CAB8Uub1EsVQa-xKPqczyRdmL2eWW4UONkC4XZKBemct+BoPpQg@mail.gmail.com> (raw)

I am trying to add a package to buildroot. The autogen.sh file in the
source directory is as follows

===================================================
#! /bin/sh

srcdir=`dirname $0`
echo "srdir: $srcdir"
test -z "$srcdir" && srcdir=.

ORIGDIR=`pwd`
cd $srcdir

autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?

$srcdir/configure --enable-maintainer-mode "$@"

===================================================


This is what I have for my package .mk file
===================================================
############################################################
####################
#
# ti-gbm
#
############################################################
####################

# This correpsonds to SDK 02.00.00.00
TI_GBM_VERSION = 96f37555c7e82a417b02051661377b10e6b3966e
TI_GBM_SITE = git://git.ti.com/glsdk/libgbm.git
TI_GBM_LICENSE = GPL-2.0
TI_GBM_LICENSE_FILES = GPL-COPYING
TI_GBM_INSTALL_STAGING = YES
TT_GBM_INSTALL_TARGET = YES
TI_GBM_AUTORECONF = YES
TI_GBM_AUTORECONF_OPTS = -v --install

$(eval $(autotools-package))
===================================================

However, I cannot figure out how to pass --enable-maintainer-mode "$@" into
the configure script.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171106/e704760a/attachment.html>

             reply	other threads:[~2017-11-07  3:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-07  3:25 Kyle Sulek [this message]
2017-11-07  4:41 ` [Buildroot] How do I pass arguments into autoconfig tools ./confgiure Baruch Siach
     [not found]   ` <CAB8Uub2JYu4iTHY7BOfQDJjSkDGe-ddYiMFfNS6BogsHAMtWDg@mail.gmail.com>
2017-11-09 16:13     ` Baruch Siach

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=CAB8Uub1EsVQa-xKPqczyRdmL2eWW4UONkC4XZKBemct+BoPpQg@mail.gmail.com \
    --to=kylesulek@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.