diff options
| -rw-r--r-- | recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb | 34 | ||||
| -rw-r--r-- | recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb | 36 |
2 files changed, 36 insertions, 34 deletions
diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb deleted file mode 100644 index a21bc69cf..000000000 --- a/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | DESCRIPTION = "OVS DPDK" | ||
| 2 | LICENSE = "BSD" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" | ||
| 4 | |||
| 5 | DEPENDS = "dpdk python3-six-native coreutils-native autoconf-native automake-native" | ||
| 6 | RDEPENDS:${PN} = "bash libcrypto libssl python3" | ||
| 7 | |||
| 8 | inherit python3native pkgconfig | ||
| 9 | |||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1" | ||
| 11 | SRCREV = "f2c0744d2f68c4cd2840d6e409d7b0520e4caf99" | ||
| 12 | |||
| 13 | do_configure() { | ||
| 14 | export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} | ||
| 15 | ${S}/boot.sh | ||
| 16 | ${S}/configure --host aarch64-fsl-linux --with-dpdk=static --with-openssl=${SYSROOT_DPDK}/usr CFLAGS="-g -Wno-cast-align -Ofast" | ||
| 17 | } | ||
| 18 | |||
| 19 | do_install:append() { | ||
| 20 | install -d ${D}${bindir}/ovs-dpdk | ||
| 21 | cp -rf ${S}/ovsdb/ovsdb-tool ${D}${bindir}/ovs-dpdk | ||
| 22 | cp -rf ${S}/ovsdb/ovsdb-server ${D}${bindir}/ovs-dpdk | ||
| 23 | cp -rf ${S}/ovsdb/ovsdb-client ${D}${bindir}/ovs-dpdk | ||
| 24 | cp -rf ${S}/vswitchd/vswitch.ovsschema ${D}${bindir}/ovs-dpdk | ||
| 25 | cp -rf ${S}/vswitchd/ovs-vswitchd ${D}${bindir}/ovs-dpdk | ||
| 26 | cp -rf ${S}/utilities/ovs-vsctl ${D}${bindir}/ovs-dpdk | ||
| 27 | cp -rf ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk | ||
| 28 | chmod 777 -R ${D}${bindir}/ovs-dpdk/* | ||
| 29 | } | ||
| 30 | |||
| 31 | ALLOW_EMPTY:${PN} = "1" | ||
| 32 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 33 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 34 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb new file mode 100644 index 000000000..5f235b4cf --- /dev/null +++ b/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | DESCRIPTION = "Open Virtual switch based on DPDK" | ||
| 2 | LICENSE = "Apache-2.0" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" | ||
| 4 | |||
| 5 | DEPENDS = "dpdk python3-six-native coreutils-native autoconf-native automake-native" | ||
| 6 | RDEPENDS:${PN} = "bash libcrypto libssl python3" | ||
| 7 | |||
| 8 | inherit python3native pkgconfig | ||
| 9 | |||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1" | ||
| 11 | SRCREV = "7b4861e1f77bbea5ff9952717b66362fdecbca4d" | ||
| 12 | |||
| 13 | do_configure() { | ||
| 14 | export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} | ||
| 15 | ${S}/boot.sh | ||
| 16 | ${S}/configure --host aarch64-fsl-linux --with-dpdk=static --with-openssl=${SYSROOT_DPDK}/usr CFLAGS="-g -Wno-cast-align -Ofast" | ||
| 17 | } | ||
| 18 | |||
| 19 | do_install:append() { | ||
| 20 | install -d ${D}${bindir}/ovs-dpdk | ||
| 21 | install -m 0755 ${S}/ovsdb/ovsdb-tool ${D}${bindir}/ovs-dpdk | ||
| 22 | install -m 0755 ${S}/ovsdb/ovsdb-server ${D}${bindir}/ovs-dpdk | ||
| 23 | install -m 0755 ${S}/ovsdb/ovsdb-client ${D}${bindir}/ovs-dpdk | ||
| 24 | install -m 0755 ${S}/vswitchd/vswitch.ovsschema ${D}${bindir}/ovs-dpdk | ||
| 25 | install -m 0755 ${S}/vswitchd/ovs-vswitchd ${D}${bindir}/ovs-dpdk | ||
| 26 | install -m 0755 ${S}/utilities/ovs-vsctl ${D}${bindir}/ovs-dpdk | ||
| 27 | install -m 0755 ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk | ||
| 28 | } | ||
| 29 | |||
| 30 | INSANE_SKIP:${PN}-dbg += " buildpaths" | ||
| 31 | INSANE_SKIP:${PN} += " buildpaths" | ||
| 32 | |||
| 33 | ALLOW_EMPTY:${PN} = "1" | ||
| 34 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 35 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 36 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
