openwrt交叉编译paho mqtt

mqtt下载

https://github.com/eclipse/paho.mqtt.c

makefile需要修改

CC = mipsel-openwrt-linux-gcc

CFLAGS = -I/home/lemon/workspace/openwrt_widora_lemon/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include

LDFLAGS = -L/home/lemon/workspace/openwrt_widora_lemon/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/lib

猜你喜欢

转载自blog.csdn.net/u013578795/article/details/85302738