make an SSH connection (putty)
Code: Select all
sudo add-apt-repository universe
Code: Select all
sudo add-apt-repository multiverse
Code: Select all
sudo apt-get update
Code: Select all
sudo apt-get upgrade -y
Code: Select all
sudo apt install build-essential gawk gcc-multilib flex git gettext libncurses5-dev libssl-dev python3-distutils zlib1g-dev
Code: Select all
sudo apt install unzip file wget python2
Code: Select all
sudo apt install python-is-python3
Code: Select all
sudo apt-get install npm -y
Code: Select all
git clone https://github.com/ericpaulbishop/gargoyle.git
Code: Select all
cd gargoyle
OPTIONAL (only required if switching branch)
Code: Select all
git checkout base_on_openwrt_remerge
Code: Select all
git checkout master
OPTIONAL (use if something goes wrong or switching branches)
Code: Select all
make distclean
Code: Select all
git pull
Code: Select all
make FULL_BUILD=true
Code: Select all
make custom
Code: Select all
make FULL_BUILD=true ar71xx
Code: Select all
make FULL_BUILD=true ar71xx.usb_large
I think my last build was close to 24 hours
Custom Build tip example
Asus RT-N12 B1 (8MB Flash)
The brcm47xx target would be close but not quite right.
You'll need to do a "make custom" and select your router from the menu which should configure it for brcm47xx/mips47k.
Once this is saved, i tend to kill the build process. Rescue the .config file from within the /custom-src directory and build my own target folder in the /targets directory.
In your case i would make a "mips74k" folder underneath "brcm47xx" and copy the same images file across. Rename the ".config" to "config".
Then you can call "make FULL_BUILD=true brcm47xx/mips74k".
For your own sanity, i would run "make FULL_BUILD=true brcm47xx" before trying any of this to make sure your build environment is 100% and you can complete a stock build first.