you can try this:
- download the yocto source from source.sierrawireless.com
- go to ./meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image.inc
3.add the following line:
IMAGE_INSTALL_append = " json-c"
-
Make the yocto image
-
the include path now should be in yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/json-c/0.13-r0/image/usr/include/json-c/
you need to add the following in cflag:-Iyocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/json-c/0.13-r0/image/usr/include/json-c/
-
for the linker (-l parameter), you should point to this path
yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/json-c/0.13-r0/image/usr/lib/libjson-c.so.3.0.1
Here is a zip file for the compiled binary compiled by WP76 FW R16.0.01:
image.zip (269.0 KB)