blob: 45cd32ac2e940555628dce5683f0f675f08e58ab [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 8bdd4481d822b6625d8bf719431ca74ed1b5e021 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 16 Jul 2018 15:56:37 +0800
4Subject: [PATCH] multipath-tools: modify Makefile.inc for cross-compilation
5
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>
26---
27 Makefile.inc | 8 ++------
28 1 file changed, 2 insertions(+), 6 deletions(-)
29
30diff --git a/Makefile.inc b/Makefile.inc
31index 57a1835..0c403c7 100644
32--- a/Makefile.inc
33+++ b/Makefile.inc
34@@ -38,12 +38,6 @@ ifndef RUN
35 endif
36 endif
37
38-ifndef SYSTEMD
39- ifeq ($(shell systemctl --version > /dev/null 2>&1 && echo 1), 1)
40- SYSTEMD = $(shell systemctl --version 2> /dev/null | sed -n 's/systemd \([0-9]*\)/\1/p')
41- endif
42-endif
43-
44 ifndef SYSTEMDPATH
45 SYSTEMDPATH=usr/lib
46 endif
47--
482.7.4
49