[dpdk-dev] compile and install using configure-make-make_install

Bruce Richardson bruce.richardson at intel.com
Tue Oct 27 15:25:04 CET 2015


Just clarify a bit further the idea I had in mind, I've put together the following
two example patches. After applying these patches the following sequence of
operations works to install dpdk libraries and headers into /opt (/opt/lib/dpdk
and /opt/include/dpdk respectively). Also the machine type is changed from native
to default, and the settings for KNI are disabled.

	./configure --prefix=/opt --machine=default \
		--config=RTE_LIBRTE_KNI=n \
		--config=CONFIG_RTE_KNI_KMOD=n
	cd build
	make 
	sudo make install

NOTE: I'm not suggesting this is ready for inclusion in DPDK in any shape or
form, I'm just trying to make clear what my suggestion was referring to, and
to trigger more discussion on the topic.

Bruce Richardson (2):
  gen-build-mk: add "make install" option to build dir
  add example configure script

 configure               | 59 +++++++++++++++++++++++++++++++++++++++++++++++++
 scripts/gen-build-mk.sh | 13 +++++++++++
 2 files changed, 72 insertions(+)
 create mode 100755 configure

-- 
2.4.3



More information about the dev mailing list