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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章