1、在openwrt的make menuconfig命令界面中选择 toolchain
2、解压编译后的toolchain文件
3、在netbeans中建立工具集合
4、项目属性中构建--预构建--命令行:
./configure --host=mipsel-openwrt-linux --prefix=/home/wifidog-gateway/install
5、项目属性中 构建--make--构建命令:
${MAKE} install -f Makefile STAGING_DIR="/home/deepin"
6、右键项目--预构建;右键项目构建