Page 1 of 1

Rebuild question

Posted: Thu Dec 27, 2012 12:56 pm
by Grey
I've been trying to troubleshoot/understand the gargoyle build process. Make FULL_BUILD=true custom will work as long as I don't actually change anything in menuconfig.

Doing a rebuild, aka, make custom seems to error pretty consistently.

Full builds every time is a real time killer. I've just been using the ar71xx so far as it's giving me less hassle than using custom

Rebuild.sh
In looking at Rebuild.sh there are 2 functions called set_constant_variables(). I'm going to guess the first one is the one that is actually being called?

netfilter-match-modules / integrate_netfilter_modules.sh
In looking at integrate_netfilter_modules.sh. Doesn't look like kernel 3.3 is actually being checked for. Should the new kernels be added or does it even matter now?
Does this actually need to run before and after doing a make menuconfig on a custom build?
As I'm getting errors about being unable to find webmon.ko I suspect integrate_netfilter_modules.sh is fighting with me

Next time I'm home my plan is break down the build process and step through to identify exactly where it's failing on me.

Really wish we could use a Config seed file and make defconfig like this guy's process https://forum.openwrt.org/viewtopic.php?id=28392. Which lets it rebuild dependencies and make it easier to stay in sync with mainline openwrt code.

Re: Rebuild question

Posted: Wed Jan 02, 2013 11:57 am
by Grey
To answer my own question.

I did find some problems with integrate_netfilter_modules.sh. I believe I've fixed it to work with Attitude Adjustment and Barrier Breaker.

Also found a rather subtle bug in the build.sh that was breaking custom builds.

Should I email a patch somewhere?

Also started trying to update to work with Barrier Breaker. It broke a huge number of gargoyle patches. They moved all the network packages and they are going upstream to the 3.6 kernel. I think I'm close to getting a complete custom BB build. Hopefully I can get it on my router this week.

Re: Rebuild question

Posted: Wed Jan 02, 2013 5:02 pm
by pbix
Why not post your patch on this thread?

Re: Rebuild question

Posted: Wed Feb 06, 2013 3:53 am
by ivyswen
Grey wrote:To answer my own question.

I did find some problems with integrate_netfilter_modules.sh. I believe I've fixed it to work with Attitude Adjustment and Barrier Breaker.

Also found a rather subtle bug in the build.sh that was breaking custom builds.

Should I email a patch somewhere?

Also started trying to update to work with Barrier Breaker. It broke a huge number of gargoyle patches. They moved all the network packages and they are going upstream to the 3.6 kernel. I think I'm close to getting a complete custom BB build. Hopefully I can get it on my router this week.
I have the same problem on Barrier Breaker,can you help me?