cd /opt/4210/RT288x_SDK/source/user
git clone https://github.com/pjq/MT7620App.git
cd MT7620App
root@precise32:/opt/4210/RT288x_SDK/source/user/MT7620App# vim ../Makefile
dir_$(CONFIG_USER_MT7620APP) += MT7620App
CONFIG_USER_MT7620APP should be the same used in the Kernel menu(../../config/config.in).
root@precise32:/opt/4210/RT288x_SDK/source/user/MT7620App# vim ../../config/config.in
##############################################################################
mainmenu_option next_comment
comment 'MT7620App by [email protected]'
bool 'myapp' CONFIG_USER_MT7620APP
endmenu
You can change 'myapp' to any text, just to identify and match the app to the CONFIG_USER_MT7620APP.
root@precise32:/opt/4210/RT288x_SDK/source# make
root@precise32:/opt/4210/RT288x_SDK/source# ls romfs/bin/myapp
romfs/bin/myapp