Build latest OpenWrt version for MT76x8 SOC based device IoT application and cross compile  simple Hello world program.

Build latest OpenWrt system

We not use defconfig because not need including any additional packages, we need minimal OpenWrt version. Later we can add all required packages.

Run:
cd to your working directory
git clone https://github.com/openwrt/openwrt.git
c
d openwrt

make menuconfig

Select in kernel config options:
Target System (MediaTek Ralink MIPS) --->
Subtarget (MT76x8 based boards) --->
Target Profile (MediaTek LinkIt Smart 7688) --->

Exit -> Save -> Yes

Run:
./scripts/feeds update -a ./scripts/feeds install -a

 

Cross compile OpenWrt console Hello World program