mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-13 23:59:01 +00:00
No particular reason for updating besides following upstream. Only kpartx has been tested after updating! Seems to work as before; unfortunately that means that as in 0.5.0, "kpartx -d" doesn't do anything. Upstream refreshed the COPYING file, hence the checksum change: $ git log --oneline 0.5.0..HEAD COPYING bf05f63 multipath-tools: replace COPYING with a fresh copy from gnu.org 1d6c88a Update FSF address The QA error that do-not-link-libmpathpersist-to-TMPDIR.patch fixes no longer occurs because upstream changed that particular part of the Makefile. A new patch is needed to avoid building libcheckerrdb, which depends on the (currently) unavailable librados. The other patches had to be refreshed. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
60 lines
1.6 KiB
Diff
60 lines
1.6 KiB
Diff
From 9f5768eca165502b0f17d271aa6f7cf530ec60b2 Mon Sep 17 00:00:00 2001
|
|
From: Joe Slater <joe.slater@windriver.com>
|
|
Date: Mon, 22 Sep 2014 17:22:32 -0700
|
|
Subject: [PATCH] multipath-tools: modify Makefile.inc for
|
|
cross-compilation
|
|
|
|
Do not look for systemd info on the host, and allow us to pass in CFLAGS
|
|
using the OPTFLAGS variable.
|
|
|
|
Upstream-Status: Inappropriate [embedded specific]
|
|
|
|
Signed-off-by: Joe Slater <joe.slater@windriver.com>
|
|
|
|
Update for version 0.5.0-144-g770e6d0
|
|
|
|
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
---
|
|
Makefile.inc | 17 +++++------------
|
|
1 file changed, 5 insertions(+), 12 deletions(-)
|
|
|
|
diff --git a/Makefile.inc b/Makefile.inc
|
|
index 1cc8f44..15f8b91 100644
|
|
--- a/Makefile.inc
|
|
+++ b/Makefile.inc
|
|
@@ -29,12 +29,6 @@ ifndef RUN
|
|
endif
|
|
endif
|
|
|
|
-ifndef SYSTEMD
|
|
- ifeq ($(shell systemctl --version > /dev/null 2>&1 && echo 1), 1)
|
|
- SYSTEMD = $(shell systemctl --version 2> /dev/null | sed -n 's/systemd \([0-9]*\)/\1/p')
|
|
- endif
|
|
-endif
|
|
-
|
|
ifndef SYSTEMDPATH
|
|
SYSTEMDPATH=usr/lib
|
|
endif
|
|
@@ -61,13 +55,12 @@ RM = rm -f
|
|
LN = ln -sf
|
|
INSTALL_PROGRAM = install
|
|
|
|
-OPTFLAGS = -O2 -g -pipe -Wall -Wextra -Wformat=2 \
|
|
- -Wno-sign-compare -Wno-unused-parameter -Wno-clobbered \
|
|
- -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector \
|
|
- --param=ssp-buffer-size=4
|
|
+ifndef OPTFLAGS
|
|
+OPTFLAGS = $(RPM_OPT_FLAGS) -Wunused -Wstrict-prototypes
|
|
+endif
|
|
|
|
-CFLAGS = $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\"
|
|
-SHARED_FLAGS = -shared
|
|
+CFLAGS = $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\"
|
|
+SHARED_FLAGS = -shared
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
--
|
|
2.11.0
|
|
|