mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
95236b1584
* most patches were rebased on top of 0.9.3 with various small adjustments.
* the following patches were dropped:
0001-fix-boolean-value-with-json-c-0.14.patch
0001-libmultipath-uevent.c-fix-error-handling-for-udev_mo.patch
replaced by upstream commits:
82129852d747 ("fix boolean value with json-c 0.14")
54349bcfc818 ("libmultipath: avoid buffer size warning with systemd 240+")
* prefix, usrlibdir, plugindir, modulesloaddir, and tmpfilesdir were added to
EXTRA_OEMAKE to fix QA.
* libgcc was added to RDEPENDS in order to fix the following startup error:
"libgcc_s.so.1 must be installed for pthread_cancel to work"
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
78 lines
2.3 KiB
Diff
78 lines
2.3 KiB
Diff
From f20d7651a62efff818ebd0d1bc920f6f362c890d Mon Sep 17 00:00:00 2001
|
|
From: Changqing Li <changqing.li@windriver.com>
|
|
Date: Mon, 26 Nov 2018 11:17:41 +0800
|
|
Subject: [PATCH] Subject: [PATCH] Always use devmapper
|
|
|
|
Do not try to compute several _API_ make variables
|
|
from host information when cross-compiling.
|
|
|
|
Upstream-Status: Inappropriate [embedded specific]
|
|
|
|
Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
|
|
Signed-off-by: Joe Slater <joe.slater@windriver.com>
|
|
|
|
Rebase to 0.7.1
|
|
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
|
|
Rebase to 0.7.7
|
|
|
|
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
|
|
|
Rebase to 0.7.9
|
|
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
|
[OP: Rebase to 0.9.3]
|
|
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
|
|
---
|
|
libmultipath/Makefile | 34 +++++++---------------------------
|
|
1 file changed, 7 insertions(+), 27 deletions(-)
|
|
|
|
diff --git a/libmultipath/Makefile b/libmultipath/Makefile
|
|
index 3b60a525..72aca7ca 100644
|
|
--- a/libmultipath/Makefile
|
|
+++ b/libmultipath/Makefile
|
|
@@ -22,33 +22,13 @@ ifdef SYSTEMD
|
|
endif
|
|
endif
|
|
|
|
-ifneq ($(call check_func,dm_task_no_flush,$(DEVMAPPER_INCDIR)/libdevmapper.h),0)
|
|
- CPPFLAGS += -DLIBDM_API_FLUSH
|
|
-endif
|
|
-
|
|
-ifneq ($(call check_func,dm_task_get_errno,$(DEVMAPPER_INCDIR)/libdevmapper.h),0)
|
|
- CPPFLAGS += -DLIBDM_API_GET_ERRNO
|
|
-endif
|
|
-
|
|
-ifneq ($(call check_func,dm_task_set_cookie,$(DEVMAPPER_INCDIR)/libdevmapper.h),0)
|
|
- CPPFLAGS += -DLIBDM_API_COOKIE
|
|
-endif
|
|
-
|
|
-ifneq ($(call check_func,udev_monitor_set_receive_buffer_size,$(LIBUDEV_INCDIR)/libudev.h),0)
|
|
- CPPFLAGS += -DLIBUDEV_API_RECVBUF
|
|
-endif
|
|
-
|
|
-ifneq ($(call check_func,dm_task_deferred_remove,$(DEVMAPPER_INCDIR)/libdevmapper.h),0)
|
|
- CPPFLAGS += -DLIBDM_API_DEFERRED
|
|
-endif
|
|
-
|
|
-ifneq ($(call check_func,dm_hold_control_dev,$(DEVMAPPER_INCDIR)/libdevmapper.h),0)
|
|
- CPPFLAGS += -DLIBDM_API_HOLD_CONTROL
|
|
-endif
|
|
-
|
|
-ifneq ($(call check_var,ELS_DTAG_LNK_INTEGRITY,$(LINUX_HEADERS_INCDIR)/scsi/fc/fc_els.h),0)
|
|
- CPPFLAGS += -DFPIN_EVENT_HANDLER
|
|
-endif
|
|
+CPPFLAGS += -DLIBDM_API_FLUSH
|
|
+CPPFLAGS += -DLIBDM_API_GET_ERRNO
|
|
+CPPFLAGS += -DLIBDM_API_COOKIE
|
|
+CPPFLAGS += -DLIBUDEV_API_RECVBUF
|
|
+CPPFLAGS += -DLIBDM_API_DEFERRED
|
|
+CPPFLAGS += -DLIBDM_API_HOLD_CONTROL
|
|
+CPPFLAGS += -DFPIN_EVENT_HANDLER
|
|
|
|
# object files referencing MULTIPATH_DIR or CONFIG_DIR
|
|
# they need to be recompiled for unit tests
|
|
--
|
|
2.38.1
|
|
|