OpenWiFi 2.x
Two types of build methods are available.
Direct complete build
tip/wlan-ap$ ./build.sh < profile name >
You can find the profile names in profiles/ directory, there will be many .yml files
For EAP101, it will be
tip/wlan-ap$ ./build.sh edgecore_eap101
Step-by-step build
Usually done when testing and debugging.
i. Clone and set up the tree to create openwrt/
tip/wlan-ap$ python3 ./setup.py --setup
ii. Select the profile and base package selection. This setup will install the feeds, packages and generate the .config file
tip/wlan-ap$ cd openwrt
tip/wlan-ap/openwrt$ ./scripts/gen_config.py edgecore_eap101
iii. Build the tree (firmware)
tip/wlan-ap/openwrt$ make -jX V=s
where, X = no. of cores in the CPU. For a dual core machine, you might use -j2, while on an 8-core machine -j8.
iv. The firmware files will be available in /openwrt/bin/targets/ipq807x/ipq60xx/ and for EAP102, the firmware files will be in /openwrt/bin/targets/ipq807x/ipq807x/