aboutsummaryrefslogtreecommitdiffstats
path: root/meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch
blob: b600fec3477c8e3edd13e28c2842885e67a735c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From 6d59090df5856d32163f256912ddf1c897590447 Mon Sep 17 00:00:00 2001
From: Changqing Li <changqing.li@windriver.com>
Date: Wed, 21 Aug 2019 13:12:13 +0800
Subject: [PATCH] pacemaker: do not execute target program while cross compile

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>

refresh patch to new version 1.1.21
Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 Makefile.common | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Makefile.common b/Makefile.common
index 469417f..9f19a53 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -36,18 +36,20 @@ if BUILD_HELP
 man8_MANS		= $(sbin_PROGRAMS:%=%.8) $(sbin_SCRIPTS:%=%.8)
 endif
 
++man7_MANS              =
+
 %.8:	% $(MAN8DEPS)
 	chmod a+x $(abs_builddir)/$<
 	$(AM_V_MAN)PATH=$(abs_builddir):$$PATH $(HELP2MAN) --output $@ --no-info --section 8 --name "Part of the Pacemaker cluster resource manager" $(abs_builddir)/$<
 
 %.xml:  %
-	$(AM_V_GEN)$(abs_builddir)/$< metadata > $@
+        @echo "xml for $<: Do not try to execute target program here"
 
 %.dbook: %.xml
-	$(AM_V_XSL)$(XSLTPROC) --nonet --novalid --stringparam man.name $* $(DBOOK_OPTS) $(top_srcdir)/xml/ocf-meta2man.xsl $(abs_builddir)/$< > $(abs_builddir)/$@
+        @echo "dbook for $<: Do not try to execute target program here"
 
 %.7:	%.dbook
-	$(AM_V_XSL)$(XSLTPROC) $(MANPAGE_XSLT) $(abs_builddir)/$< $(PCMK_quiet)
+        @echo "man7 for $<: Do not try to execute target program here"
 
 # Build docbook from asciidoc because XML is a PITA to edit
 #
-- 
2.7.4