From: Bernhard Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] buildroot with ipkg
Date: Wed, 19 Sep 2007 21:27:40 +0200 [thread overview]
Message-ID: <20070919192740.GC817@aon.at> (raw)
In-Reply-To: <20070919064200.GA29317@zelow.no>
On Wed, Sep 19, 2007 at 08:42:00AM +0200, Thomas Lundquist wrote:
>On Mon, Sep 17, 2007 at 11:17:22PM +0200, Julien Boibessot wrote:
>
>> Do you think it's possible to do that without modifying all the
>> Buildroot packages makefiles ?
>
>No, it need that work.
>
>I've attatched the last svn diff I made, which is kinda outdated. This
>makes tarballs and very simple .debs. I was about to do ipkg when work
>caught up with me.
>
>It will not apply cleanly to the newest svn but I feel I should at least
>show that I have something. It should be fairly easy to hack in but I
>have to finish the project I work on now before I can play with this.
>
>The concept is that you can choose what kind of packages you want and
>then choose between package or "base" for every package in packages/
>(the only package that you can do with it right now is Dropbear, as a
>proof of concept.)
>
>If you are in a hurry, feel free to fix and add, if not I'll try to
>finish up a new patch in a week or two (I've said that before but if I
>know I can add it to buildroot I'm more motivated for it.)
>
>
>
>Thomas.
>Index: target/ext2/ext2root.mk
>===================================================================
>--- target/ext2/ext2root.mk (revision 18947)
>+++ target/ext2/ext2root.mk (working copy)
>@@ -75,7 +75,7 @@
> #EXT2_ROOTFS_COMPRESSOR_PREREQ:= bzip2-host
> endif
> ifeq ($(BR2_TARGET_ROOTFS_EXT2_LZMA),y)
>-EXT2_ROOTFS_COMPRESSOR:=lzma -9 -c
>+EXT2_ROOTFS_COMPRESSOR:=$(STAGING_DIR)/bin/lzma -9 -c
This shouldn't be needed anymore, we build our own version there, if
need be. If you have one of these "lzma e" flavour binaries, please
flesh out toolchain/dependencies/check-host-lzma.sh
instead (See TODO in there). TIA.
> EXT2_ROOTFS_COMPRESSOR_EXT:=lzma
> EXT2_ROOTFS_COMPRESSOR_PREREQ:= lzma-host
> endif
>Index: package/config/mconf.c
>===================================================================
>--- package/config/mconf.c (revision 18947)
>+++ package/config/mconf.c (working copy)
>@@ -165,7 +165,8 @@
> "Arrow keys navigate the menu. "
> "<Enter> selects submenus --->. "
> "Highlighted letters are hotkeys. "
>- "Pressing <Y> selectes a feature, while <N> will exclude a feature. "
>+ "Pressing <Y> selectes a feature, while <N> will exclude a feature, "
>+ "<M> will build a separate package. "
> "Press <Esc><Esc> to exit, <?> for Help, </> for Search. "
> "Legend: [*] feature is selected [ ] feature is excluded",
> radiolist_instructions[] =
I'm not sure if that is a good idea. You'd generally want to build all
packages as ipkg, i'd say.
>Index: package/dropbear/dropbear.mk
>===================================================================
>--- package/dropbear/dropbear.mk (revision 18947)
>+++ package/dropbear/dropbear.mk (working copy)
>@@ -11,6 +11,13 @@
> DROPBEAR_BINARY:=dropbearmulti
> DROPBEAR_TARGET_BINARY:=usr/sbin/dropbear
>
>+ifeq ($(strip $(BR2_PACKAGE_DROPBEAR)),m)
>+DROPBEAR_DESTDIR=$(TARGET_PACKAGES_DIR)/dropbear
>+else
>+DROPBEAR_DESTDIR=$(TARGET_DIR)
>+endif
wow. This would be very intrusive. We should be able to use one central
TARGET_PACKAGES_DIR that may or may not be empty that we stick into the
individual FOO_DIR's via TARGET_DIR
But first we have to fix the lib vs. lib64 dir glitch with gcc, that's
more important. And then it would be nice if somebody would look into
multilib support, which is apparently broken since several years (way
before i joined).
Still, creating ipkg would be a nice thing to have.
next prev parent reply other threads:[~2007-09-19 19:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-17 12:09 [Buildroot] buildroot with ipkg pasteur
2007-09-17 19:44 ` Julien Boibessot
2007-09-17 20:14 ` Erik Andersen
2007-09-17 21:17 ` Julien Boibessot
2007-09-19 6:42 ` Thomas Lundquist
2007-09-19 12:17 ` Thomas Lundquist
2007-09-19 19:27 ` Bernhard Fischer [this message]
2007-09-19 20:56 ` Thomas Lundquist
2007-09-19 21:50 ` Bernhard Fischer
2007-09-20 21:16 ` Julien Boibessot
2007-09-20 21:37 ` Thomas Lundquist
2007-09-22 21:28 ` julien.boibessot at free.fr
2007-09-22 21:43 ` Bernhard Fischer
2007-09-22 22:19 ` Thomas Lundquist
2007-09-20 9:06 ` Elizabeth Oldham
2007-09-20 10:52 ` Thomas Lundquist
-- strict thread matches above, loose matches on Subject: below --
2007-09-22 22:28 Thomas Lundquist
2007-09-23 20:43 ` Bernhard Fischer
2007-11-14 10:12 ` Thomas Lundquist
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=20070919192740.GC817@aon.at \
--to=rep.dot.nop@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox