* [gentoo-embedded] mii-tool single distribution
@ 2006-05-30 11:06 Enrico Weigelt
2006-05-30 12:05 ` Natanael Copa
0 siblings, 1 reply; 5+ messages in thread
From: Enrico Weigelt @ 2006-05-30 11:06 UTC (permalink / raw
To: gentoo developers, gentoo embedded
Hi folks,
JFYI: I've made an mii-tool single distribution, which is
independent from the rest of the net-tools stuff.
http://www.metux.de/articles/oss/mii-tool-1_9_1_1
This is especially interesting for embedded systems with plenty
of space.
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact@metux.de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-embedded] mii-tool single distribution
2006-05-30 11:06 [gentoo-embedded] mii-tool single distribution Enrico Weigelt
@ 2006-05-30 12:05 ` Natanael Copa
2006-05-30 12:36 ` Ned Ludd
2006-05-30 12:56 ` Enrico Weigelt
0 siblings, 2 replies; 5+ messages in thread
From: Natanael Copa @ 2006-05-30 12:05 UTC (permalink / raw
To: gentoo-embedded
On Tue, 2006-05-30 at 13:06 +0200, Enrico Weigelt wrote:
> Hi folks,
>
> JFYI: I've made an mii-tool single distribution, which is
> independent from the rest of the net-tools stuff.
>
> http://www.metux.de/articles/oss/mii-tool-1_9_1_1
>
> This is especially interesting for embedded systems with plenty
> of space.
Cool!
It would be even more interesting if you could get it into busybox
and/or get it into portage.
--
Natanael Copa
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-embedded] mii-tool single distribution
2006-05-30 12:05 ` Natanael Copa
@ 2006-05-30 12:36 ` Ned Ludd
2006-05-31 19:34 ` Enrico Weigelt
2006-05-30 12:56 ` Enrico Weigelt
1 sibling, 1 reply; 5+ messages in thread
From: Ned Ludd @ 2006-05-30 12:36 UTC (permalink / raw
To: gentoo-embedded; +Cc: gentoo-dev
On Tue, 2006-05-30 at 14:05 +0200, Natanael Copa wrote:
> On Tue, 2006-05-30 at 13:06 +0200, Enrico Weigelt wrote:
> > Hi folks,
> >
> > JFYI: I've made an mii-tool single distribution, which is
> > independent from the rest of the net-tools stuff.
> >
> > http://www.metux.de/articles/oss/mii-tool-1_9_1_1
> >
> > This is especially interesting for embedded systems with plenty
> > of space.
(embedded with plenty of space? kinda funny) If you had plenty of space
then chances are you would be going the net-tools route.
>
> Cool!
>
> It would be even more interesting if you could get it into busybox
> and/or get it into portage.
busybox absolutely seems the ideal place for cut out utils.
mii-tool is a handy one also.
> --
> Natanael Copa
>
--
Ned Ludd <solar@gentoo.org>
Gentoo Linux
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-embedded] mii-tool single distribution
2006-05-30 12:05 ` Natanael Copa
2006-05-30 12:36 ` Ned Ludd
@ 2006-05-30 12:56 ` Enrico Weigelt
1 sibling, 0 replies; 5+ messages in thread
From: Enrico Weigelt @ 2006-05-30 12:56 UTC (permalink / raw
To: gentoo-embedded
* Natanael Copa <natanael.copa@gmail.com> schrieb:
Hi,
> It would be even more interesting if you could get it into busybox
I've already mentioned it on my recent post @busybox
Would be good to have an unified commandlet API, so we could
build the standalone command and the busybox commandlet from
the same source.
> and/or get it into portage.
Maybe you like to write an ebuild file for it ?
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact@metux.de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-embedded] mii-tool single distribution
2006-05-30 12:36 ` Ned Ludd
@ 2006-05-31 19:34 ` Enrico Weigelt
0 siblings, 0 replies; 5+ messages in thread
From: Enrico Weigelt @ 2006-05-31 19:34 UTC (permalink / raw
To: gentoo-embedded
* Ned Ludd <solar@gentoo.org> schrieb:
> On Tue, 2006-05-30 at 14:05 +0200, Natanael Copa wrote:
> > On Tue, 2006-05-30 at 13:06 +0200, Enrico Weigelt wrote:
> > > Hi folks,
> > >
> > > JFYI: I've made an mii-tool single distribution, which is
> > > independent from the rest of the net-tools stuff.
> > >
> > > http://www.metux.de/articles/oss/mii-tool-1_9_1_1
> > >
> > > This is especially interesting for embedded systems with plenty
> > > of space.
>
> (embedded with plenty of space? kinda funny) If you had plenty of space
> then chances are you would be going the net-tools route.
ugh, seems there was a bit fallen over when I typed the mail ;-o
Of course: s/plenty/little/;
<snip>
> > It would be even more interesting if you could get it into busybox
> > and/or get it into portage.
>
> busybox absolutely seems the ideal place for cut out utils.
> mii-tool is a handy one also.
It would be good to have an simple API for writing such commandlets,
so that they can be easily built standalone or compiled in into
larger utils like busybox without changes in the source. Maybe a well
defined set of preprocessor symbols / macros could easily do the job.
For example:
#include "commandlet.h"
#ifdef CMDLET_MAIN_MODIFIER
CMDLET_MAIN_MODIFIER
#endif
int
#ifdef CMDLET_MAIN_NAME
CMDLET_MAIN_NAME
#else
main
#endif
(int argc, char** argv);
{
}
When built within some shell, we pass -DCMDLET_MAIN_NAME=...
so that the surrounding code (makefile ?) can control how the
main function is named (ie. foo_main() instead of main()).
By defining CMDLET_MAIN_MODIFIER we can add something to
the function declaration, ie "static".
...
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact@metux.de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-05-31 19:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-30 11:06 [gentoo-embedded] mii-tool single distribution Enrico Weigelt
2006-05-30 12:05 ` Natanael Copa
2006-05-30 12:36 ` Ned Ludd
2006-05-31 19:34 ` Enrico Weigelt
2006-05-30 12:56 ` Enrico Weigelt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox