- Install the necessary dependency packages for compilation
sudo apt install build-essential libncurses5-dev gawk git libssl-dev gettext zlib1g-dev swig unzip time rsync python3 python3-setuptools python3-yaml
- Clone the code and execute the compilation (Note the command
make -j17
, in principle, the number of cores on the computer plus 1 will allow the most efficient compilation)
git clone https://github.com/gl-inet/gl-infra-builder.git
cd gl-infra-builder
python3 setup.py -c configs/config-wlan-ap.yml
cd wlan-ap/openwrt
./scripts/gen_config.py target_wlan_ap-gl-axt1800 luci
make -j17
- Generate path
bin/targets/ipq807x/ipq60xx/openwrt-ipq807x-glinet_axt1800-squashfs-sysupgrade.tar
bin/targets/ipq807x/ipq60xx/openwrt-ipq807x-glinet_axt1800-squashfs-nand-factory.img