Hi folks,

The only reliable way I found to rebuild after enabling a plugin was to do a full distclean and rebuild. As follows ...

cd vpp
(cd build-root; make distclean; rm .bootstrap.ok)
sed -i "s/PLUGIN_DISABLED[(]sample[)]/PLUGIN_ENABLED\(sample\)/" plugins/configure.ac
make PLATFORM=vpp_lite build
make PLATFORM=vpp_lite build-vpp-api
make PLATFORM=vpp_lite plugins

A full rebuild is clearly a PITA, in theory I should be able to do a

configure --enable-sample-plugin

in the plugins directory but I don't see an obvious way to do this.
Also if I do this by hacking I end up with missing directories under build-root.

Was wondering if there was a more obvious approach I was missing?

Ray K
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to