mips-openwrt-linux-gcc test_usbsw.c -o usbsw 编译问题

时间:2022-08-17 02:00:25

 
mips-openwrt-linux-gcc: warning: environment variable 'STAGING_DIR' not defined
mips-openwrt-linux-gcc: warning: environment variable 'STAGING_DIR' not defined
mips-openwrt-linux-gcc: warning: environment variable 'STAGING_DIR' not defined

 

解决方式:

export STAGING_DIR=(你的OpenWrt目录的绝对路径)/staging_dir