Jeevan Mathew(deleted)
|
Re: Using mpcsec driver without io-pkt
|
Jeevan Mathew(deleted)
09/09/2009 3:43 AM
post37606
|
Re: Using mpcsec driver without io-pkt
> Is there any possibility to build the driver without building the whole packet
> ?
>
Following is just meant as a starting point to try and to adapt , so no warranties ;-) :
http://community.qnx.com/sf/go/wiki1653?nav=1
[snip]
How do I build drivers under 6.4.0 without downloading all of the io-pkt source base?
We've changed the driver building under 6.4.1 so that headers that were previously available only as part of the source
package are now installed as part of the system headers. These headers will be included in an upcoming 6.4.0.1
maintenance patch. In the interim, the appropriate headers are available in the attachment at the bottom of this page.
Under windows, run bash to get a bash shell first. On linux and self-hosted, make sure that you've got root access
cd $(QNX_TARGET)/usr/include
gzip -d _path_to_/iopkt_build_headers.tar.gz
tar -xvf _path_to/iopkt_build_headers.tar
(Under bash with windows, if you want to specify the full path including the disk name, use /c/ to prefix the directory
name)
These headers should be installed under your QNX_TARGET/usr/include directory (you'll end up with a QNX_TARGET/usr/
include/io-pkt subdirectory containing all of the header files).
A build directory can be created by placing the Makefile and prodroot.mk files from trunk/sys/dev_qnx into a top level
directory and adding driver sub-directories below it as follows:
top_dir/
Makefile
prodroot.mk
driver_1/
driver_1 source, Makefile, cpu variants, etc.
driver_2/
driver_2 source, Makefile, cpu variants, etc.
Attachments:
iopkt_build_headers.tar.gz [Drivers_wiki_page/iopkt_build_headers.tar.gz]
[snap]
Hope this helps,
Jeevan
|
|
|