This post is based on https://docs.labs.mediatek.com/resource/linkit-smart-7688/en/tutorials/c-c++-programming/using-openwrt-sdk-to-build-c-c++-programs with additional info. added from following it.
Note, The method described below uses makefile to build an *.ipk file that could be installed by using the "opkg install filename" command.
Environment:
Working Computer: Windows 8.1.
Cross Compiling Platform: Ubuntu Linux 16.04.2 on ThinkPad-Edge-E420s.
Target:
LinkIt Smart 7688 Duo, OpenWRT Chaos Calmer 15.05.1 r49203