blob: 952009b1d5da25d9f12b3aaefc4a34142366c34c [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001From d139474f2a6d87c1cd20dfbb916fe650bfcce968 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>
Andrew Geissler517393d2023-01-13 08:55:19 -060029[OP: Rebase to 0.9.3]
30Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080031---
Brad Bishop15ae2502019-06-18 21:44:24 -040032 Makefile.inc | 11 -----------
33 1 file changed, 11 deletions(-)
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080034
35diff --git a/Makefile.inc b/Makefile.inc
Andrew Geissler517393d2023-01-13 08:55:19 -060036index 34f2cc6d..ee6a4c9f 100644
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080037--- a/Makefile.inc
38+++ b/Makefile.inc
Andrew Geissler517393d2023-01-13 08:55:19 -060039@@ -42,17 +42,6 @@ ifndef RUN
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080040 endif
41 endif
42
43-ifndef SYSTEMD
Andrew Geissler517393d2023-01-13 08:55:19 -060044- ifeq ($(shell $(PKGCONFIG) --modversion libsystemd >/dev/null 2>&1 && echo 1), 1)
45- SYSTEMD = $(shell $(PKGCONFIG) --modversion libsystemd | awk '{print $$1}')
Brad Bishop15ae2502019-06-18 21:44:24 -040046- else
47- ifeq ($(shell systemctl --version >/dev/null 2>&1 && echo 1), 1)
48- SYSTEMD = $(shell systemctl --version 2> /dev/null | \
49- sed -n 's/systemd \([0-9]*\).*/\1/p')
50- endif
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080051- endif
52-endif
53-
54 ifndef SYSTEMDPATH
55 SYSTEMDPATH=usr/lib
56 endif
57--
Andrew Geissler517393d2023-01-13 08:55:19 -0600582.38.1
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080059