From: Daniel Mack <daniel@caiaq.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add support for custom post-build script
Date: Fri, 10 Jul 2009 20:43:43 +0200 [thread overview]
Message-ID: <20090710184343.GE19257@buzzloop.caiaq.de> (raw)
In-Reply-To: <38210.172.16.221.10.1247243199.squirrel@172.16.0.251>
On Fri, Jul 10, 2009 at 04:26:39PM -0000, nfrench at xtale.biz wrote:
> I am currently building my app using the tools in staging_dir to
> build my app then I mount the built ext2 from binaries cp my program on
> and build a new ext2
This is exactly what I want to avoid. I know it is possible, but using
the post-build script method is faster, more logic and more straight
forward.
> Is there a standard why to do this .ie
> this custom post-build
Well, it's up to you what you do with that script. You'll be fed with
the target rootfs as $1 and could then do something like
cp /path/to/your/hello $1/usr/bin/
Or remove unwanted files etc. Up to you.
> would it be possible to document how to
> add a simple Hello World app.? So that it gets built? with
> buildroot or have I missed somthing in the docs.
No, don't confuse that. Your application will not be built by buildroot
by the post-build script.
If you want to do that, you need to add your own package. See the
package/ folder how others do that. And if that package is building a
publically available project, please consider sending a patch back to
this list so everybody can benefit from it.
Daniel
next prev parent reply other threads:[~2009-07-10 18:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-10 16:26 [Buildroot] [PATCH] Add support for custom post-build script nfrench at xtale.biz
2009-07-10 18:43 ` Daniel Mack [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-07-11 19:34 nfrench at xtale.biz
2009-07-13 3:14 ` Paul Archer
2009-07-08 20:46 Daniel Mack
2009-07-15 9:21 ` Daniel Mack
2009-07-16 4:14 ` Paul Archer
2009-07-25 21:14 ` Peter Korsgaard
2009-07-27 11:58 ` Daniel Mack
2009-07-27 12:17 ` Peter Korsgaard
2009-07-27 12:38 ` Daniel Mack
2009-07-27 12:48 ` Peter Korsgaard
2009-07-27 12:26 ` Marcelo Martins Maia do Couto
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=20090710184343.GE19257@buzzloop.caiaq.de \
--to=daniel@caiaq.de \
--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.