Skip to content

Prepare & compile sources

negan07 edited this page Apr 20, 2017 · 27 revisions

To conclude make successfully, root privilegs (sudo) must be available.

Make sure git is installed, otherwise type:

sudo apt-get update && sudo apt-get upgrade && sudo apt-get install git

Clone the git project with:

git clone https://github.com/negan07/ancistrus

Type: make help to see the make options.

In particular: make hostprepare

could help installing the packets needed to compile successfully

Typing: make will begin all the building stage.

During make processes, automake do the following:

Download Netgear firmware sources including toolchain; Patch & compile the toolchain; Patch & compile kernel & original netgear sources; Download & patch work thirdparty apps from this repository; Make work thirdparty apps; Build an opkg local bin app & use it to offline-install work thirdparty packages on target netgear sources; Prepare & build the .img firmware with the included work thirdparty modifications.

Type make ipk to prepare create and build .ipk packages & related index, ready to be uploaded onto a repository mirror.