From 0f6d30a95c84ec239f5a30bbfba17ed42e2cf284 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Thu, 6 Nov 2014 07:05:52 -0600 Subject: common: Remove DPDK recipes Move the DPDK recipes out of common/ and into meta-romley/. The DPDK recipes have so far been shown to be broken for any other machine than Romley or for any other kernel version than the kernel Romley is still using, 3.10. So the logical place for them to live would be in meta-romley, if anywhere. Signed-off-by: Tom Zanussi Acked-by: Burton, Ross --- meta-romley/recipes-extended/dpdk/dpdk_1.6.0r2.bb | 45 +++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 meta-romley/recipes-extended/dpdk/dpdk_1.6.0r2.bb (limited to 'meta-romley/recipes-extended/dpdk/dpdk_1.6.0r2.bb') diff --git a/meta-romley/recipes-extended/dpdk/dpdk_1.6.0r2.bb b/meta-romley/recipes-extended/dpdk/dpdk_1.6.0r2.bb new file mode 100644 index 00000000..72f57683 --- /dev/null +++ b/meta-romley/recipes-extended/dpdk/dpdk_1.6.0r2.bb @@ -0,0 +1,45 @@ +include dpdk.inc + + +SRC_URI = "http://dpdk.org/browse/dpdk/snapshot/dpdk-${PV}.tar.gz;name=dpdk \ + file://dpdk-1.6.0r2-examples-qos_sched-fix-makefile.patch \ + file://dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-cmdline-tests.patch \ + file://dpdk-1.6.0r2-eal-fix-option-base-virtaddr.patch \ + " + + +SRC_URI[dpdk.md5sum] = "f406d027320fc8e724bff20db5397cbb" +SRC_URI[dpdk.sha256sum] = "e72fdebcf8a899fc58e60c9b6493b7457576eece60b08dea6aee96c9087df4b2" + +export EXAMPLES_BUILD_DIR = "build" + +do_compile_append () { + + ################################################################### + ### Compilation for examples + ### Skip dpdk_qat due to it has dependency with qat source code + ### Skip vhost due to it has dependency to fuse libraries + ### Skip vhost_xen due to it has dependency to xen libraries + ################################################################### + for app in ${S}/examples/* + do + + [ `basename ${app}` = "dpdk_qat" -o `basename ${app}` = "vhost" -o `basename ${app}` = "vhost_xen" ] && continue; + + cd ${app} + + ############################################################### + # netmap_compat is putting the binary in a directory path + # which is different from rest of the example apps, so this + # special case is handled here to avoid installation failure + # with dpdk-1.6.0 + ############################################################### + if [ `basename ${app}` == "netmap_compat" ]; then + oe_runmake CROSS="${TARGET_PREFIX}" O="${app}/bridge/${EXAMPLES_BUILD_DIR}/" + else + oe_runmake CROSS="${TARGET_PREFIX}" + fi + done + +} + -- cgit v1.2.3-54-g00ecf