Subject: Re: Crosscompiling for evbarm
To: Richard Kaestner <richard.kaestner@kabsi.at>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-arm
Date: 12/02/2006 16:39:30
On Sat, Dec 02, 2006 at 10:32:25 +0100, Richard K??stner wrote:
> 1. How to get a target system with devices epgpio, epwdt, ...
>
> cd /usr/src ; ./build.sh -m evbarm distribution
> fails with:
> # install /usr/www/pages/ftp/pub/NetBSD/evbarm/DESTDIR//dev/MAKEDEV
> cd /usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/etc/obj &&
> STRIP=/usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/obj/tooldir.NetBSD-4.99.4-i386/bin/arm--netbsdelf-strip
> /usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/obj/tooldir.NetBSD-4.99.4-i386/bin/nbinstall
> -N /usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/etc -c -p -r -T etc_pkg -o root -g
> wheel -m 555 MAKEDEV /usr/www/pages/ftp/pub/NetBSD/evbarm/DESTDIR//dev
>
> nbinstall: MAKEDEV: stat: No such file or directory
>
> ... which is clear, since MAKEDEV is
> in /usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/etc/
> so I did it manually, then re-do a 'build.sh distribution' - fails again
> despite having 'update=yes'
There shouldn't be MAKEDEV in src/etc. Did you do a build w/out
objdirs before?
It's highly advisable to build out of read-only src to prevent
incidents like that.
You can check cvs update output for files marked with '?' - which are
not supposed to be there, but be aware that files like *.o are not
reported by cvs.
SY, Uwe
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen