To: | |
---|---|
Subject: | Re: [ts-7000] Compiling device drivers for the TS-7xxx? |
From: | chris dewbery <> |
Date: | Wed, 06 Sep 2006 11:40:57 +1200 |
They're compiled separate from the kernel directory >> structure. Will this work the same way with the cross compiler >> in my path instead of the native compiler? The hello world >> example works just fine using 'gcc -O3 hello.c -o hello'. The >> kernel and modules are, obviously, a bit more complicated. The following command is what I use to compile modules for the TS-7250, it may not be the best method but works for me :) arm-unknown-linux-gnu-gcc -D__KERNEL__ -DMODULE -isystem \ ~/linux-2.4-ts11/include -O3 -c ModuleName.c where ~/linux-2.4-ts11 is the path to the TS-72xx kernel. then its just a case of coping the ModuleName.o file into your /lib/modules/<kernel>/kernel/drivers/ directory on the TS-72XX Chris. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ts-7000/ <*> To unsubscribe from this group, send an email to: <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [ts-7000] Recovery with SerialBlaster (was Re: NetBSD on a TS-7260), Curtis Monroe |
---|---|
Next by Date: | [ts-7000] Recovery with SerialBlaster (was Re: NetBSD on a TS-7260), Tom Hansen |
Previous by Thread: | [ts-7000] Re: Compiling device drivers for the TS-7xxx?, Yan Seiner |
Next by Thread: | [ts-7000] Help needed with TS-7260, jr |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU