From: Ulf Samuelsson <ulf@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] Easier adding of new packages / alsa-lib & utils
Date: Sat, 9 Jun 2007 09:53:01 +0200 [thread overview]
Message-ID: <016c01c7aa73$e6a6f1d0$0302a8c0@atmel.com> (raw)
In-Reply-To: 20070608174728.GB4273@firebird.dresden.micronet24.de
>> As I see it we lack three things in the build.
>> 1) Ability to use backup sites if the main site is temporarily or permanently down.
> To 1) The main problem, I think, is that somebody has to maintain these
> backup-addresses or to provide a backup-server containing all possibly
> needed files. The rest of the problem is easy, as it can be solved
> either by a scipt wrapping wget or by a File-downloading-rule caring
> about backup-locations
>
I think buildroot should contain the mechanism to do it,
and the user should be able to provide a backup server location.
I have seen discussions where the conclusion is that if someone
wants to be compliant with GPL, then they need to provide the source
for everything, so everyone using buildroot in products
needs to provide their own backup server.
>> 2) Handling of distributions. I.E. ability to specify which package version you
>> want to build in a way which is separated from the package build script.
> To 2) This is a more difficult problem since you have to give the user a
> chance to specify all supported versions. If you want to integrate it
> into the current configuration-process you would have to specify a field
> or list for every single package - Leaving the user alone with the
> decision of hundred of different versions.
As I envision the mechanism, you should be able to generate a file containing
all the current versions using a simple command.
I.E: make distrib
Each package makefile fragment would contain.
<package>-distrib:
echo <package>_VER >> .distrib
---------------
The Config.in should have a configuration string which, if not empty,
the file, with the filename in the string should be included by Makefile
in the beginning.
---------------
The makefile fragment in each package should test if
<package>_VER is defined, and if not, it should define it.
Alternatively, you always have a configuration file containing the version info
and you either use this or you use your own,
I see the use of this functionality as a help for newbies, where people with more
experience select the package versions and create a distribution which are then used
by people less experience.,
>
> According to the introduction, we would have enough up to here :)
>
>> 3) Ability to generate binary packages which can be added/removed from
>> the root fs.
>>
> To 3) You have something like this, even if it could be improved. If you
> "make package" the first time you build and install the package. If you
> afterwards do "make package-clean" you remove it from the rootfs. Doing
> "make package" again installs the stuff...
>
But it requires that you have access to the package compile tree which is sometimes undesirable.
Best Regards
Ulf Samuelsson ulf at atmel.com
Atmel Nordic AB
Mail: Box 2033, 174 02 Sundbyberg, Sweden
Visit: Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden
Phone +46 (8) 441 54 22 Fax +46 (8) 441 54 29
GSM +46 (706) 22 44 57
next prev parent reply other threads:[~2007-06-09 7:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-07 13:29 [Buildroot] Easier adding of new packages / alsa-lib & utils Benjamin Tietz
2007-06-08 6:22 ` Ulf Samuelsson
2007-06-08 17:47 ` Benjamin Tietz
2007-06-09 7:53 ` Ulf Samuelsson [this message]
2007-06-09 12:12 ` Benjamin Tietz
2007-06-09 13:32 ` [Buildroot] Easier adding of new packages / Distribution Benjamin Tietz
2007-06-09 19:53 ` [Buildroot] Easier adding of new packages / alsa-lib & utils Thomas Lundquist
2007-06-08 17:50 ` Benjamin Tietz
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='016c01c7aa73$e6a6f1d0$0302a8c0@atmel.com' \
--to=ulf@atmel.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