mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-02 03:17:48 +00:00
0313f8542c52cd22814294cc833f447b7a244505
The batman-adv for non-802.11ax devices was a completely different one than
for 802.11ax devices. The latter is using a private copy because the QCA
kernel is extremely old and doesn't match the kernel from OpenWrt 21.02.
And the mac80211 version (and its backports/compat code) is not fully
compatible with the official one.
At least import the newest version from openwrt-routing openwrt-21.02 and
change to build against the special kernel and mac80211 version.
The used commit from openwrt-routing is 5d09821ed7c4 ("batman-adv: Always
send iface index+name in genlmsg")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Setting up your build machine
Requires a recent linux installation. Older systems without python 3.7 will have trouble. See this link for details: https://openwrt.org/docs/guide-developer/quickstart-build-images
Install build packages: sudo apt install build-essential libncurses5-dev gawk git libssl-dev gettext zlib1g-dev swig unzip time rsync python3 python3-setuptools python3-yaml.
Doing a native build on Linux
First we need to clone and setup our tree. This will result in an openwrt/.
./setup.py --setup
Next we need to select the profile and base package selection. This setup will install the feeds, packages and generate the .config file.
cd openwrt
./scripts/gen_config.py ea8300
Finally we can build the tree.
make -j X V=s
Description
Languages
C
85.9%
Shell
5.6%
Makefile
3.3%
Roff
1.8%
UnrealScript
1.6%
Other
1.6%