morsectrl/morse_cli
Software Development Kits > Guide to Linux Porting
Dependencies
Please ensure the following dependencies are compiled, and if required, installed into the staging directory of your build environment.
- libnl
Compilation
Compiling morsectrlrequires the above mentioned dependencies be made accessible to the build. In this example, libnl was "installed” into the staging directory with make install.
The below command also assumes your CC flag is set appropriately for your target. If additional CFLAGS, LDFLAGS, or other environment variables are required for your platform, add them as required.
unzip morsectrl_rel_1_11_3_2024_Mar_28.zip
tar -xf morsectrl_rel_1_11_3_2024_Mar_28.tar.gz
cd morsectrl_rel_1_11_3_2024_Mar_28
CFLAGS="-I$STAGING_DIR/include/libnl3/" \
LDFLAGS="-L $STAGING_DIR/lib/" \
make CONFIG_MORSE_TRANS_NL80211=1
Note that morse_cli is compiled at the same time.
Installation
To install morsectrl or morse_cli, simply copy the respective compiled binaries to /usr/bin of your device or target rootfs.