diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2017-04-27 11:04:51 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-31 10:18:33 +0200 |
| commit | ec9e5ed06256ad92c818474cdb490dc0d3a0d0a3 (patch) | |
| tree | e16d2a838f4561d5538928a58f805e5f1373225a /meta-networking/recipes-kernel/netmap/netmap-modules_git.bb | |
| parent | 6775acb048dabd624c5c8197b683aba45ed91569 (diff) | |
| download | meta-openembedded-ec9e5ed06256ad92c818474cdb490dc0d3a0d0a3.tar.gz | |
recipes: remove blacklisted recipes
* as PNBLACKLIST message says, these recipes are blacklisted for long
time and nobody showed any interest to fix them
* remove all unused .patch and .inc files as well
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-kernel/netmap/netmap-modules_git.bb')
| -rw-r--r-- | meta-networking/recipes-kernel/netmap/netmap-modules_git.bb | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb b/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb deleted file mode 100644 index 192ece0e9d..0000000000 --- a/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb +++ /dev/null | |||
| @@ -1,92 +0,0 @@ | |||
| 1 | require netmap.inc | ||
| 2 | |||
| 3 | DEPENDS = "virtual/kernel" | ||
| 4 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
| 5 | |||
| 6 | inherit module | ||
| 7 | |||
| 8 | CLEANBROKEN = "1" | ||
| 9 | |||
| 10 | export INSTALL_MOD_DIR="kernel/netmap-modules" | ||
| 11 | |||
| 12 | EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \ | ||
| 13 | --kernel-sources=${STAGING_KERNEL_DIR} \ | ||
| 14 | --install-mod-path=${D} \ | ||
| 15 | --driver-suffix="-netmap" \ | ||
| 16 | " | ||
| 17 | |||
| 18 | # The driver builds are optional, but for deterministic builds, | ||
| 19 | # we should be able to explicitly enable/disable the builds | ||
| 20 | # for them in a proper place (maybe in BSP). | ||
| 21 | # But we can't use PACKAGECONFIG since there is no option for | ||
| 22 | # each driver, and the options are: | ||
| 23 | # --no-drivers do not compile any driver | ||
| 24 | # --no-drivers= do not compile the given drivers (comma sep.) | ||
| 25 | # --drivers= only compile the given drivers (comma sep.) | ||
| 26 | # | ||
| 27 | # So use NETMAP_DRIVERS and the following python code to add proper | ||
| 28 | # configs to EXTRA_OECONF. | ||
| 29 | # | ||
| 30 | # The default is no-drivers, and all supported drivers are listed | ||
| 31 | # in NETMAP_ALL_DRIVERS. | ||
| 32 | NETMAP_DRIVERS ??= "" | ||
| 33 | NETMAP_ALL_DRIVERS = "ixgbe igb e1000e e1000 veth.c forcedeth.c virtio_net.c r8169.c" | ||
| 34 | |||
| 35 | python __anonymous () { | ||
| 36 | drivers_list = d.getVar("NETMAP_DRIVERS").split() | ||
| 37 | all_drivers_list = d.getVar("NETMAP_ALL_DRIVERS").split() | ||
| 38 | config_drivers = "--drivers=" + ",".join(drivers_list) | ||
| 39 | |||
| 40 | extra_oeconf_drivers = bb.utils.contains_any('NETMAP_DRIVERS', all_drivers_list, config_drivers, '--no-drivers', d) | ||
| 41 | d.appendVar("EXTRA_OECONF", extra_oeconf_drivers) | ||
| 42 | } | ||
| 43 | |||
| 44 | LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,-O1', '')}" | ||
| 45 | LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,--as-needed', '')}" | ||
| 46 | |||
| 47 | do_configure () { | ||
| 48 | cd ${S}/LINUX | ||
| 49 | ./configure ${EXTRA_OECONF} | ||
| 50 | } | ||
| 51 | |||
| 52 | do_configure_append () { | ||
| 53 | cat >> ${S}/LINUX/netmap_linux_config.h <<EOF | ||
| 54 | #define NETMAP_LINUX_HAVE_HRTIMER_MODE_REL | ||
| 55 | #define NETMAP_LINUX_HAVE_HRTIMER_FORWARD_NOW | ||
| 56 | #define NETMAP_LINUX_HAVE_PHYS_ADDR_T | ||
| 57 | #define NETMAP_LINUX_HAVE_ACCESS_ONCE | ||
| 58 | #define NETMAP_LINUX_HAVE_NETDEV_OPS | ||
| 59 | #define NETMAP_LINUX_HAVE_INIT_NET | ||
| 60 | #define NETMAP_LINUX_HAVE_LIVE_ADDR_CHANGE | ||
| 61 | #define NETMAP_LINUX_HAVE_TX_SKB_SHARING | ||
| 62 | #define NETMAP_LINUX_HAVE_UNLOCKED_IOCTL | ||
| 63 | #define NETMAP_LINUX_HAVE_PERNET_OPS_ID | ||
| 64 | #define NETMAP_LINUX_VIRTIO_FUNCTIONS | ||
| 65 | #define NETMAP_LINUX_VIRTIO_FREE_PAGES | ||
| 66 | #define NETMAP_LINUX_VIRTIO_GET_VRSIZE | ||
| 67 | #define NETMAP_LINUX_TIMER_RTYPE enum hrtimer_restart | ||
| 68 | #define NETMAP_LINUX_VIRTIO_MULTI_QUEUE | ||
| 69 | #define NETMAP_LINUX_HAVE_E1000E_EXT_RXDESC | ||
| 70 | #define NETMAP_LINUX_HAVE_E1000E_DOWN2 | ||
| 71 | EOF | ||
| 72 | |||
| 73 | if ${@ 'false' if (bb.utils.vercmp_string(d.getVar('KERNEL_VERSION') or "0", '3.17') < 0) else 'true' } ; then | ||
| 74 | echo OK | ||
| 75 | cat >> ${S}/LINUX/netmap_linux_config.h <<EOF | ||
| 76 | #define NETMAP_LINUX_ALLOC_NETDEV_4ARGS | ||
| 77 | EOF | ||
| 78 | fi | ||
| 79 | } | ||
| 80 | |||
| 81 | do_compile () { | ||
| 82 | cd ${S}/LINUX | ||
| 83 | oe_runmake | ||
| 84 | } | ||
| 85 | |||
| 86 | do_install () { | ||
| 87 | cd ${S}/LINUX | ||
| 88 | oe_runmake install | ||
| 89 | } | ||
| 90 | |||
| 91 | # http://errors.yoctoproject.org/Errors/Details/83335/ | ||
| 92 | PNBLACKLIST[netmap-modules] ?= "BROKEN: not compatible with default kernel version 4.8 - the recipe will be removed on 2017-09-01 unless the issue is fixed" | ||
