Compiling with a specifc kernel version.

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

Post Reply
slthomason
Posts: 5
Joined: Fri Sep 11, 2009 2:23 am

Compiling with a specifc kernel version.

Post by slthomason »

Hi there,

I am trying to compile using a certain version of the kernel. I go and change the Makefile in the target/linux/<target>/Makefile, but it gets changed back every time as soon as the compile starts up. Normally, (in a standard OpenWRT compilation) I can change the "LINUX_VERSION:=2.6.xx.x," but the Gargoyle build scripts seem to be changing it back each time and I can't find where.

Please let me know. Thanks!

Spencer

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Compiling with a specifc kernel version.

Post by Eric »

I forget if this is a parameter that can be set from openwrt menuconfig. If it is, you can download the Gargoyle source and run "make custom", which will launch menuconfig before building, so you can select your configuration in detail. If not, do a make [your target]. Then change to the [your target] subdirectory. This is an openwrt build environment setup by the Gargoyle makefile. Edit the file WITHIN this subdirectory, and then run maken V=99, again from within this subdirectory.

Post Reply