diff options
Diffstat (limited to 'meta-oe/recipes-support/multipath-tools/files/0030-Always-use-devmapper.patch')
| -rw-r--r-- | meta-oe/recipes-support/multipath-tools/files/0030-Always-use-devmapper.patch | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/0030-Always-use-devmapper.patch b/meta-oe/recipes-support/multipath-tools/files/0030-Always-use-devmapper.patch deleted file mode 100644 index c2025ed6ff..0000000000 --- a/meta-oe/recipes-support/multipath-tools/files/0030-Always-use-devmapper.patch +++ /dev/null | |||
| @@ -1,77 +0,0 @@ | |||
| 1 | From f20d7651a62efff818ebd0d1bc920f6f362c890d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Changqing Li <changqing.li@windriver.com> | ||
| 3 | Date: Mon, 26 Nov 2018 11:17:41 +0800 | ||
| 4 | Subject: [PATCH] Subject: [PATCH] Always use devmapper | ||
| 5 | |||
| 6 | Do not try to compute several _API_ make variables | ||
| 7 | from host information when cross-compiling. | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [embedded specific] | ||
| 10 | |||
| 11 | Signed-off-by: Aws Ismail <aws.ismail@windriver.com> | ||
| 12 | Signed-off-by: Joe Slater <joe.slater@windriver.com> | ||
| 13 | |||
| 14 | Rebase to 0.7.1 | ||
| 15 | |||
| 16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 17 | |||
| 18 | Rebase to 0.7.7 | ||
| 19 | |||
| 20 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
| 21 | |||
| 22 | Rebase to 0.7.9 | ||
| 23 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
| 24 | [OP: Rebase to 0.9.3] | ||
| 25 | Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> | ||
| 26 | --- | ||
| 27 | libmultipath/Makefile | 34 +++++++--------------------------- | ||
| 28 | 1 file changed, 7 insertions(+), 27 deletions(-) | ||
| 29 | |||
| 30 | diff --git a/libmultipath/Makefile b/libmultipath/Makefile | ||
| 31 | index 3b60a525..72aca7ca 100644 | ||
| 32 | --- a/libmultipath/Makefile | ||
| 33 | +++ b/libmultipath/Makefile | ||
| 34 | @@ -22,33 +22,13 @@ ifdef SYSTEMD | ||
| 35 | endif | ||
| 36 | endif | ||
| 37 | |||
| 38 | -ifneq ($(call check_func,dm_task_no_flush,$(DEVMAPPER_INCDIR)/libdevmapper.h),0) | ||
| 39 | - CPPFLAGS += -DLIBDM_API_FLUSH | ||
| 40 | -endif | ||
| 41 | - | ||
| 42 | -ifneq ($(call check_func,dm_task_get_errno,$(DEVMAPPER_INCDIR)/libdevmapper.h),0) | ||
| 43 | - CPPFLAGS += -DLIBDM_API_GET_ERRNO | ||
| 44 | -endif | ||
| 45 | - | ||
| 46 | -ifneq ($(call check_func,dm_task_set_cookie,$(DEVMAPPER_INCDIR)/libdevmapper.h),0) | ||
| 47 | - CPPFLAGS += -DLIBDM_API_COOKIE | ||
| 48 | -endif | ||
| 49 | - | ||
| 50 | -ifneq ($(call check_func,udev_monitor_set_receive_buffer_size,$(LIBUDEV_INCDIR)/libudev.h),0) | ||
| 51 | - CPPFLAGS += -DLIBUDEV_API_RECVBUF | ||
| 52 | -endif | ||
| 53 | - | ||
| 54 | -ifneq ($(call check_func,dm_task_deferred_remove,$(DEVMAPPER_INCDIR)/libdevmapper.h),0) | ||
| 55 | - CPPFLAGS += -DLIBDM_API_DEFERRED | ||
| 56 | -endif | ||
| 57 | - | ||
| 58 | -ifneq ($(call check_func,dm_hold_control_dev,$(DEVMAPPER_INCDIR)/libdevmapper.h),0) | ||
| 59 | - CPPFLAGS += -DLIBDM_API_HOLD_CONTROL | ||
| 60 | -endif | ||
| 61 | - | ||
| 62 | -ifneq ($(call check_var,ELS_DTAG_LNK_INTEGRITY,$(LINUX_HEADERS_INCDIR)/scsi/fc/fc_els.h),0) | ||
| 63 | - CPPFLAGS += -DFPIN_EVENT_HANDLER | ||
| 64 | -endif | ||
| 65 | +CPPFLAGS += -DLIBDM_API_FLUSH | ||
| 66 | +CPPFLAGS += -DLIBDM_API_GET_ERRNO | ||
| 67 | +CPPFLAGS += -DLIBDM_API_COOKIE | ||
| 68 | +CPPFLAGS += -DLIBUDEV_API_RECVBUF | ||
| 69 | +CPPFLAGS += -DLIBDM_API_DEFERRED | ||
| 70 | +CPPFLAGS += -DLIBDM_API_HOLD_CONTROL | ||
| 71 | +CPPFLAGS += -DFPIN_EVENT_HANDLER | ||
| 72 | |||
| 73 | # object files referencing MULTIPATH_DIR or CONFIG_DIR | ||
| 74 | # they need to be recompiled for unit tests | ||
| 75 | -- | ||
| 76 | 2.38.1 | ||
| 77 | |||
