Libvirt build issues

I am working on a project involving libvirt and so I am working on adding the package to LEDE.

See Github for my progress here:

I have added the package in my config but when I build it, I do not see anything relating to libvirt being built, yet the job finishes without any errors.

make[2]: Leaving directory '/home/dev/src/package/utils/util-linux'
make[2]: Entering directory '/home/dev/packages/libs/libvirt'
make[2]: Leaving directory '/home/dev/packages/libs/libvirt'
make[1]: Leaving directory '/home/dev/src'
dev@rage-envy-700 ~/src $

You need to add body to Package/libvirt/install.
Otherwise the build will not pick up the package.
Something like

define Package/libvirt/install
      :
endef

should work.

You can drop the Build/Compile rule if you are only calling the Build/Compile/Default.

1 Like

Awesome! Thanks!

I am nowhere near finished adding all the different options but I just wanted to get the bare minimal for it to build before going further.

I'll have to write that down somewhere.