OESF Portables Forum

General Forums => General Discussion => Topic started by: telemetric_au on June 01, 2007, 09:41:23 am

Title: [resolved]integrate My "make Dep" 'd Kernel Source
Post by: telemetric_au on June 01, 2007, 09:41:23 am
ive gotten as far as configuring and issuing 'make dep' with a cross sdk, now i cant figure out how to integrate in onto my z so that the 'make' i issue natively as part of building some modules access's it ??
Title: [resolved]integrate My "make Dep" 'd Kernel Source
Post by: dhns on June 01, 2007, 03:06:04 pm
Quote
ive gotten as far as configuring and issuing 'make dep' with a cross sdk, now i cant figure out how to integrate in onto my z so that the 'make' i issue natively as part of building some modules access's it ??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=162376\"][{POST_SNAPBACK}][/a][/div]
Hm. I would assume you should provide some more information:

* on which host are you building?
* which version of which kernel?
* which cross-compiler?
* which 'make'?

etc.

-- hns
Title: [resolved]integrate My "make Dep" 'd Kernel Source
Post by: telemetric_au on June 02, 2007, 04:41:00 am
ok, have this kernel source: https://www.oesf.org/howto/downloads/linux-...0020910.tar.bz2 (https://www.oesf.org/howto/downloads/linux-sl5500-20020910.tar.bz2) ala https://www.oesf.org/index.php?title=Compiling_the_Kernel (https://www.oesf.org/index.php?title=Compiling_the_Kernel)

i used the cross sdk (arm-linux-gcc from cross-sdk-arm-cacko-linux-gnu-3.4.5-2.2.5-softfloat.tar.bz2  on my "big" pc to issue "make menuconfig' , then loaded the 5500 config, and issued "make dep'

now i want it on my z so that the make in bestcrypt can find/use it to build its modules (it doesnt have a config)...
Title: [resolved]integrate My "make Dep" 'd Kernel Source
Post by: telemetric_au on June 03, 2007, 01:10:22 pm
ok i worked that one out :

for 2.4.x kernel

just symlink  /lib/modules/2.4.18-rmk7-pxa3-embedix/build to the location of your kernel-source's "root" 'linux' directory .

ps if you get to the part in your module build and it says it cant find modversions.h as i did,

you need to go back and recompile your kernel enabling module version support options

now when you issue make dep it will make this file
Title: [resolved]integrate My "make Dep" 'd Kernel Source
Post by: telemetric_au on July 02, 2007, 11:30:28 pm
just  a quick update, the version you need most likely is 2.4.18-rmk7-pxa3-embedix (linux-sl5500-20030509-rom3_10.tar.bz2)

rather than 2.4.6-rmk1-np2-embedix (linux-sl5500-20020910.tar.bz2)

see here for more details:

https://www.oesf.org/forums/index.php?showtopic=24307 (https://www.oesf.org/forums/index.php?showtopic=24307)