From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] How to create the package from software using "bootstrap" to configure?
Date: Sat, 21 Dec 2013 14:46:53 +0100 [thread overview]
Message-ID: <20131221144653.4af8deff@skate> (raw)
In-Reply-To: <CAMduVEcRz63T4e5Fa_4iDm-H9e9RuOWkDMNTXAHe6VtZsLXhtg@mail.gmail.com>
Dear Wojciech Zabolotny,
On Sat, 21 Dec 2013 14:15:44 +0100, Wojciech Zabolotny wrote:
> AVRDUDE_VERSION = eabe067c4527bc2eedc5db9288ef5cf1818ec720
> AVRDUDE_SITE =
> http://github.com/kcuzner/avrdude/tarball/$(AVRDUDE_VERSION)
> AVRDUDE_LICENSE = GPLv2 AVRDUDE_INSTALL_TARGET = YES
> AVRDUDE_AURORECONF = YES
>
>
> define AVRDUDE_CONFIGURE_CMDS
> (cd $(@D)/avrdude; \
> ./bootstrap --prefix=$(TARGET_DIR)/usr
> --parallel=$(PARALLEL_JOBS) ;\
> ./configure --prefix=$(TARGET_DIR)/usr \
> )
> endef
>
> define AVRDUDE_BUILD_CMDS
> $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/avrdude
> endef
>
> define AVRDUDE_INSTALL_TARGET_CMDS
> $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/avrdude install
> endef
>
> $(eval $(generic-package))
Make it an autools-package instead, and specify AVRDUDE_AUTORECONF =
YES. This will have the same effect as calling avrdude's bootstrap
script.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2013-12-21 13:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-21 13:15 [Buildroot] How to create the package from software using "bootstrap" to configure? Wojciech Zabolotny
2013-12-21 13:46 ` Thomas Petazzoni [this message]
2013-12-21 17:54 ` Wojciech Zabolotny
2013-12-21 18:01 ` Thomas Petazzoni
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=20131221144653.4af8deff@skate \
--to=thomas.petazzoni@free-electrons.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.