![]() ![]() |
Oct 30 2007, 05:52 AM
Post
#1
|
|
|
Group: Members Posts: 42 Joined: 8-August 06 Member No.: 10,687 |
Hi,
Does anyone have the kernel headers available as a tar so that I can quickly add them to my Zaurus for compiling modules. I have tried making them on the zaurus but I have no idea what the configuration used for pdaxrom's 2.6.16 kernel is. Thanks |
|
|
|
Oct 30 2007, 06:50 AM
Post
#2
|
|
![]() Group: Admin Posts: 1,208 Joined: 20-January 06 From: York, Pennsylvania Member No.: 8,961 |
I'm not really using the 2.6.16 kernel so I cant get you the headers... but here are the default kernel configs
http://pdaxrom.svn.sourceforge.net/svnroot...el-2.6.16-akita http://pdaxrom.svn.sourceforge.net/svnroot...el-2.6.16-corgi Late |
|
|
|
Oct 30 2007, 07:54 AM
Post
#3
|
|
|
Group: Members Posts: 42 Joined: 8-August 06 Member No.: 10,687 |
Thanks for the links they will make a big difference for me.
After downloading the config I renamed it .config and then ran make oldconfig. Now do I need to actually build the kernel or just link to the includes directory in the kernel tree? |
|
|
|
Oct 30 2007, 10:23 AM
Post
#4
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
I think you just need to do a "make dep," then point the thing you want to compile to the kernel source directory.
|
|
|
|
Oct 30 2007, 12:06 PM
Post
#5
|
|
|
Group: Members Posts: 42 Joined: 8-August 06 Member No.: 10,687 |
|
|
|
|
Oct 31 2007, 07:58 AM
Post
#6
|
|
|
Group: Members Posts: 42 Joined: 8-August 06 Member No.: 10,687 |
I had to build the kernel but now that I have done this I can compile the module.
Thanks for the help with this guys. |
|
|
|
Oct 31 2007, 08:08 AM
Post
#7
|
|
![]() Group: Admin Posts: 1,208 Joined: 20-January 06 From: York, Pennsylvania Member No.: 8,961 |
If I believe correctly... you have build the full kernel... then once the kernel is fully built... you can package the headers
Late |
|
|
|
Oct 31 2007, 08:30 AM
Post
#8
|
|
|
Group: Members Posts: 42 Joined: 8-August 06 Member No.: 10,687 |
Is there any info on creating ipks for pdaxrom? If so I will look at packaging them. Of course it might be easier to just tar the lot for those few who would want it.
|
|
|
|
Oct 31 2007, 10:25 AM
Post
#9
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
There are links to nice how-tos (written by me
http://www.tyrannozaurus.com/?q=wiki/Main_Page |
|
|
|
Nov 1 2007, 02:30 AM
Post
#10
|
|
|
Group: Members Posts: 42 Joined: 8-August 06 Member No.: 10,687 |
Is there a way to make an ipk run a script after the module has been installed (can I just add a post-install script in the control.tar.gz).
What I need this for is I am making a ipk for my patched dm9601 kernel module and I need to get the zaurus to run depmod -a after installing. |
|
|
|
Nov 1 2007, 03:39 AM
Post
#11
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
I believe there is. You just need to name the script something special (can't remember what it is).
You could just tell people to run it after installing the ipk, though |
|
|
|
Nov 1 2007, 03:55 AM
Post
#12
|
|
|
Group: Members Posts: 42 Joined: 8-August 06 Member No.: 10,687 |
From the other pages about ipk's that I have looked at it look like it needs to be called postinst and I also need to create a postrm as well for uninstalling.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 11:49 PM |