Jivin Wolfgang Wegner lays it down ...
> Hi David,
> 
> On Fri, Dec 07, 2007 at 12:32:06AM +1000, David McCullough wrote:
> > 
> > put the files (rc and inittab) into vendors/my_company/my_project/.
> > Then in the "romfs" section of vendors/my_company/my_project/Makefile
> > add the folowing lines:
> > 
> >     $(ROMFSINST) /etc/rc
> >     $(ROMFSINST) /etc/inittab
> >     $(ROMFSINST) -s /bin/init /init
> > 
> > then when you run:
> > 
> >     make romfs
> > 
> > or just when you do a full build,  the files (and symlink)
> > will get installed.  There are lots of examples in the tree
> > for doing this,  have a look around,
> 
> I did, and already copied things from the ALTERA Makefile - but somehow
> still a different /etc/rc and /etc/inittab are used, so I was thinking
> there might be some other default that I have to explicitly override
> or so.
> Anyways, not a big problem, I think I can mange this.

Make sure you makefile is not including another or getting a romfs
target from another file.  It could be coming from something like
the "Generic" romfs directory.  Put your commands at the end of the
romfs target perhaps ?

> The bigger problem is some linker problem with mtd-utils, post follows...

It seems there's always some issue with MTD utils ;-)

Cheers,
Davidm

-- 
David McCullough,  [EMAIL PROTECTED],   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org http://www.cyberguard.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to