blob: 3919f99045556768cde900b7e946f92df251c187 [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001From c3436ec8a502a40579abf62be0a479fa9d7888ad Mon Sep 17 00:00:00 2001
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08002From: Changqing Li <changqing.li@windriver.com>
Brad Bishop15ae2502019-06-18 21:44:24 -04003Date: Tue, 4 Jun 2019 11:39:39 +0800
4Subject: [PATCH] multipath-tools: modify Makefile.inc for cross-compilation
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08005
6Do not look for systemd info on the host, and allow us to pass in CFLAGS
7using the OPTFLAGS variable.
8
9Upstream-Status: Inappropriate [embedded specific]
10
11Signed-off-by: Joe Slater <joe.slater@windriver.com>
12
13Update for version 0.5.0-144-g770e6d0
14
15Signed-off-by: Kai Kang <kai.kang@windriver.com>
16
17Update for version 0.7.1
18
19Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
20
21update for version 0.7.7
22
23remove change about CFLAGS part, since patch 0024 already have similar function.
24
25Signed-off-by: Changqing Li <changqing.li@windriver.com>
Brad Bishop19323692019-04-05 15:28:33 -040026
Brad Bishop15ae2502019-06-18 21:44:24 -040027update for version 0.8.1
Brad Bishop19323692019-04-05 15:28:33 -040028Signed-off-by: Changqing Li <changqing.li@windriver.com>
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080029---
Brad Bishop15ae2502019-06-18 21:44:24 -040030 Makefile.inc | 11 -----------
31 1 file changed, 11 deletions(-)
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080032
33diff --git a/Makefile.inc b/Makefile.inc
Brad Bishop15ae2502019-06-18 21:44:24 -040034index 661f141..3f9fd28 100644
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080035--- a/Makefile.inc
36+++ b/Makefile.inc
Brad Bishop15ae2502019-06-18 21:44:24 -040037@@ -35,17 +35,6 @@ ifndef RUN
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080038 endif
39 endif
40
41-ifndef SYSTEMD
Brad Bishop15ae2502019-06-18 21:44:24 -040042- ifeq ($(shell pkg-config --modversion libsystemd >/dev/null 2>&1 && echo 1), 1)
43- SYSTEMD = $(shell pkg-config --modversion libsystemd)
44- else
45- ifeq ($(shell systemctl --version >/dev/null 2>&1 && echo 1), 1)
46- SYSTEMD = $(shell systemctl --version 2> /dev/null | \
47- sed -n 's/systemd \([0-9]*\).*/\1/p')
48- endif
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080049- endif
50-endif
51-
52 ifndef SYSTEMDPATH
53 SYSTEMDPATH=usr/lib
54 endif
55--
562.7.4
57