how-to Quick build
Moderator: Moderators
Re: how-to Quick build
The build should work on any environment that can install the dependencies. The host is largely inconsequential as the whole thing cross compiles for your target anyway.
As already mentioned, builds default to using max cores + 2.
Wifi you can enable different drivers and chipsets as you wish using the config file. For x86 most reliable pcie AP cards should be fine as long as they have good Linux driver support.
As already mentioned, builds default to using max cores + 2.
Wifi you can enable different drivers and chipsets as you wish using the config file. For x86 most reliable pcie AP cards should be fine as long as they have good Linux driver support.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: how-to Quick build
I am not quite sure I would classify using a multithreaded makefile execution as exotic, but, running the top level make with the "-j" option seems to cause the entire build to execute using multithreading.ispyisail wrote: ↑Fri Oct 15, 2021 1:03 pmThis is exactly where I'm at.I've gotten used to starting the build and doing something else until it's done (usually build overnight, especially if I kick off parallel builds with different targets).
Start getting into exotic stuff you are bound to find problems.
After installing python2, the last failure I had was unrelated to multithreading and related to my having allocated to little of an amount of disk space for the build (40GB).
I will attempt a multithreaded build again once I resolve all these other concerns first, at which point I will report my results.
Very Respectfully,
Stuart, N3GWG
Computer Scientist
Stuart, N3GWG
Computer Scientist
Re: how-to Quick build
@Lantis
These build instructions no longer work, gets into a build loop.
Do you know what dependencies are now missing?
also these commands no longer work
These build instructions no longer work, gets into a build loop.
Do you know what dependencies are now missing?
also these commands no longer work
Code: Select all
make FULL_BUILD=true ar71xx
Code: Select all
make FULL_BUILD=true ar71xx.usb_large
Re: how-to Quick build
ar71xx is no longer a supported target - try ath79 (which supercedes ar71xx) instead. ath79 also now has only 2 sub-targets: default and nand.
The active targets are represented as subdirectories of targets/, with each active sub-target being represented as a subdirectory of targets/<target>/profiles/ - e.g. ath79.default is represented as targets/ath79/profiles/default.
Just specifying the target will build all sub-targets starting with the default sub-target (which exists for all targets).
python-dev and swig are newish dependencies I've encountered; I vaguely recall there may have been another only for x86 but don't remember what it might have been. Python should now also be v3.x rather than v2.
The active targets are represented as subdirectories of targets/, with each active sub-target being represented as a subdirectory of targets/<target>/profiles/ - e.g. ath79.default is represented as targets/ath79/profiles/default.
Just specifying the target will build all sub-targets starting with the default sub-target (which exists for all targets).
python-dev and swig are newish dependencies I've encountered; I vaguely recall there may have been another only for x86 but don't remember what it might have been. Python should now also be v3.x rather than v2.
Re: how-to Quick build
I don't believe that documentation is 100% up to date 

Re: how-to Quick build
I just found a reference to the missing x86 related build dependency I noted above: it was libelf-dev
Re: how-to Quick build
What’s the build error? Would help narrow it down too.
It shouldn’t be looping under this:
make FULL_BUILD=true ath79.default
Once it fails, re run as
make BUILD_THREADS=1 ath79.default
This should then make the error that is stopping the build the last thing on screen (as it now runs single threaded).
It shouldn’t be looping under this:
make FULL_BUILD=true ath79.default
Once it fails, re run as
make BUILD_THREADS=1 ath79.default
This should then make the error that is stopping the build the last thing on screen (as it now runs single threaded).
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.