diff options
author | Maxin B. John <maxin.john@intel.com> | 2016-02-10 18:35:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-11 12:27:50 +0000 |
commit | f0d5478de47cb7dd45141a279f067be869a2f4c5 (patch) | |
tree | b342fcc0c9ddef95918745e9eceed377d0738422 /meta/recipes-extended/mdadm/files/0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch | |
parent | 79d5041a9c9ff16ca254d99f87c9ad0f178d48e6 (diff) | |
download | poky-f0d5478de47cb7dd45141a279f067be869a2f4c5.tar.gz |
mdadm: update to version 3.4
3.3.4 -> 3.4
a) Removed the following upstreamed patch:
1. 0001-Define-_POSIX_C_SOURCE-if-undefined.patch
b) Added following patches to fix uclibc,musl and x32 build failures
1. 0001-mdadm.h-bswap-is-already-defined-in-uclibc.patch
2. 0001-util.c-include-poll.h-instead-of-sys-poll.h.patch
3. 0001-Fix-some-type-comparison-problems.patch
4. 0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch
(From OE-Core rev: e1ae012388e4321b95cd79c014af135cf6c419ad)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mdadm/files/0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch')
-rw-r--r-- | meta/recipes-extended/mdadm/files/0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-extended/mdadm/files/0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch b/meta/recipes-extended/mdadm/files/0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch new file mode 100644 index 0000000000..deb7486383 --- /dev/null +++ b/meta/recipes-extended/mdadm/files/0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 1f5baf3ad95ae4c39efe4d8ad8b2e642b3a351da Mon Sep 17 00:00:00 2001 | ||
2 | From: "Maxin B. John" <maxin.john@intel.com> | ||
3 | Date: Tue, 9 Feb 2016 11:44:01 +0200 | ||
4 | Subject: [PATCH] Fix the path of corosync and dlm header files check | ||
5 | |||
6 | Original Makefile will check headers on host instead of sysroot. | ||
7 | Fix it. | ||
8 | |||
9 | Upstream-Status: Inappropriate [Yocto specific] | ||
10 | |||
11 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
12 | --- | ||
13 | Makefile | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/Makefile b/Makefile | ||
17 | index fd79cfb..34150a9 100644 | ||
18 | --- a/Makefile | ||
19 | +++ b/Makefile | ||
20 | @@ -80,8 +80,8 @@ MDMON_DIR = $(RUN_DIR) | ||
21 | FAILED_SLOTS_DIR = $(RUN_DIR)/failed-slots | ||
22 | SYSTEMD_DIR=/lib/systemd/system | ||
23 | |||
24 | -COROSYNC:=$(shell [ -d /usr/include/corosync ] || echo -DNO_COROSYNC) | ||
25 | -DLM:=$(shell [ -f /usr/include/libdlm.h ] || echo -DNO_DLM) | ||
26 | +COROSYNC:=$(shell [ -d $(SYSROOT)/usr/include/corosync ] || echo -DNO_COROSYNC) | ||
27 | +DLM:=$(shell [ -f $(SYSROOT)/usr/include/libdlm.h ] || echo -DNO_DLM) | ||
28 | |||
29 | DIRFLAGS = -DMAP_DIR=\"$(MAP_DIR)\" -DMAP_FILE=\"$(MAP_FILE)\" | ||
30 | DIRFLAGS += -DMDMON_DIR=\"$(MDMON_DIR)\" | ||
31 | -- | ||
32 | 2.4.0 | ||
33 | |||