Mercurial > dropbear
diff AXIS-README @ 316:dc6173e09ff7 ucc-axis-hack
smaller yet again
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 28 Mar 2006 16:04:11 +0000 |
parents | 24056a5eb75b |
children |
line wrap: on
line diff
--- a/AXIS-README Mon Mar 27 08:36:44 2006 +0000 +++ b/AXIS-README Tue Mar 28 16:04:11 2006 +0000 @@ -66,3 +66,30 @@ svr-agentfwd.o svr-main.o svr-x11fwd.o svr-tcpfwd.o svr-authpam.o libtomcrypt/libtomcrypt.a libtommath/libtommath.a -melinux -s -symbolic -static -L /usr/local/cris/lib/gcc-lib/cris/2.96/elinux/ uccrt/*.o + + +--------------- + + +Saner again: + +Get http://developer.axis.com/download/old/devboard/R1_1_0/devboard-R1_1_0.tgz +And the cris-dist debian package (we're using 1.16-1). + +PATH=/usr/local/cris:$PATH + +Build the axis dev env thing with +"prefix=/space/axis/matt/R1_1_0-prefix ./install" + +You'll actually end up with some images which could be flashed, I haven't tried +them. + +PATH=/space/axis/matt/devboard-R1_1_0/devboard/tools:$PATH +(includes /usr/local/cris too) + +In dropbear dir: + ./configure CC=gcc_cris CFLAGS="-melinux -muclibc=/space/axis/matt/R1_1_0-prefix -Wall -O2 -DELINUX" --disable-zlib --disable-syslog --host=cris LDFLAGS="-melinux -muclibc=/space/axis/matt/R1_1_0-prefix" + +make, it should work. + +If you strip it, it won't work. -Os should work.