[uClinux-dev] Questions about adding and upgrading packages
Doug Kehn
rdkehn at yahoo.com
Tue Jun 26 15:37:00 EDT 2007
Hi,
--- glhs329 at gmail.com wrote:
> What is the procedure for adding a new user package
> to the official
> uClinux-dist? I am currently using
> uClinux-dist-20070130.
>
> I added 'haserl' (see http://haserl.sourceforge.net)
> to my tree, and I
> believe others will find it useful. I added the
> latest development
> version, which is 0.9.16. Haserl uses
> autoconf/automake, and I don't
> like the practice of editing the resultant
> 'Makefile' for uClinux.
> Instead, I "ported" haserl by creating a
> uClinux-specific makefile
> (lower-case 'm') that drives the build process. My
> makefile looks like
> this:
>
> all: Makefile
> $(MAKE) -f Makefile
>
> Makefile:
> ./configure $(CONFIGURE_OPTS) --prefix=
>
> romfs:
> $(ROMFSINST) src/haserl /bin
>
> # Default rule retries target in 'Makefile'
> %:
> $(MAKE) -f Makefile $@
>
> I can submit patches for my makefile, and
> ROOTDIR/config/config.in,
> but am not sure about the procedure for getting the
> haserl sources
> into the tree.
>
> What's the process for upgrading packages in the
> uClinux tree? I would
> also like to see mini_httpd upgraded to v1.19
> (currently v1.14). I've
> done so in my own tree, and can supply patches. I
> used the same
> porting trick of adding a new makefile, rather than
> editing
> mini_httpd's own Makefile.
The first place to start is by reading:
uClinux-dist/Documentation/Adding-User-Apps-HOWTO
There are several apps (e.g. net-snmp, quagga, shadow)
already in the tree that are built using configure.
Take a lot at these for example makefile. Note the
uClinux convention is to use 'm'akefile as you did.
When you have everything integrated create a patch and
submit. I don't believe you need to include haserl in
your patch. Just reference the URL and version and
Greg/David will pull it in if the patch is acceptable.
If you modifed haserl in order to get it to
compile/run, include this patch too.
Regards,
...doug
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
More information about the uClinux-dev
mailing list