$ tce-load -i compiletc libnl-dev openssl-1.1.1-dev

$ cd hostapd-2.9; cd hostapd

edit Makefile:
CFLAGS = -MMD -Wall

edit defconfig:
CONFIG_LIBNL32=y
CONFIG_IEEE80211N=y

$ cp defconfig .config

$ make V=1 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe"
$ make DESTDIR=/tmp/desthostapd install
