Hei folks. I was building a custom package that I have a dependency to ubus, and I guess it also adds to the story that I'm using an external toolchain this time and it is the first time I have such a problem with ubus, and never had this problem with ubus before.
However, when my ubus dependent package is building, it fails at "failed to find libubus.h in "#include <libubus.h>".
Now when I put a dependency on ubus in the openwrt Makefile (DEPENDS := +ubus), I expect the ubus package to build libubus.so and copy the include files to staging dir, but it does not!
Looking in package/system/ubus/Makefile, and to my surprise it does not put libubus.h in the include folders of staging_dir. Is this a bug ? If I install ubus on ubuntu, all include files are copied when I do sudo make install, but not in this openwrt makefile for the ubus package.. strange.
https://github.com/openwrt/openwrt/blob/master/package/system/ubus/Makefile
I guess my question then is, is this a bug or is ubus include part of some base files ?