summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch')
-rw-r--r--meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch48
1 files changed, 27 insertions, 21 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch b/meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch
index 559b857b63..f469e85b91 100644
--- a/meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch
+++ b/meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch
@@ -1,4 +1,4 @@
1From d0fa5b259c2dc942d0a43a9cf1bfc32f40c184f9 Mon Sep 17 00:00:00 2001 1From c47048a68eec6838c87e5cde5fddc7e7500b7742 Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com> 2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Thu, 7 Jan 2016 22:37:30 -0800 3Date: Thu, 7 Jan 2016 22:37:30 -0800
4Subject: [PATCH] libtool: do not use jlibtool 4Subject: [PATCH] libtool: do not use jlibtool
@@ -12,26 +12,25 @@ Upstream-Status: Inappropriate [embedded specific]
12Signed-off-by: Jackie Huang <jackie.huang@windriver.com> 12Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
13Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 13Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
14--- 14---
15 Make.inc.in | 4 ++-- 15 Make.inc.in | 3 ++-
16 scripts/boiler.mk | 2 ++ 16 scripts/boiler.mk | 2 ++
17 scripts/install.mk | 14 +++++++------- 17 scripts/install.mk | 14 +++++++-------
18 scripts/libtool.mk | 22 ++++++++++++++++------ 18 scripts/libtool.mk | 22 +++++++++++++++-------
19 4 files changed, 27 insertions(+), 15 deletions(-) 19 4 files changed, 26 insertions(+), 15 deletions(-)
20 20
21diff --git a/Make.inc.in b/Make.inc.in 21diff --git a/Make.inc.in b/Make.inc.in
22index 05f82776ff..e78f3fe9dc 100644 22index 6d5cc1c343..7944aa7143 100644
23--- a/Make.inc.in 23--- a/Make.inc.in
24+++ b/Make.inc.in 24+++ b/Make.inc.in
25@@ -57,7 +57,7 @@ CPPFLAGS = @CPPFLAGS@ 25@@ -57,6 +57,7 @@ CPPFLAGS = @CPPFLAGS@
26 LIBPREFIX = @LIBPREFIX@ 26 LIBPREFIX = @LIBPREFIX@
27 EXEEXT = @EXEEXT@ 27 EXEEXT = @EXEEXT@
28 28
29-LIBTOOL = JLIBTOOL
30+LIBTOOL = @LIBTOOL@ 29+LIBTOOL = @LIBTOOL@
31 ACLOCAL = @ACLOCAL@ 30 ACLOCAL = @ACLOCAL@
32 AUTOCONF = @AUTOCONF@ 31 AUTOCONF = @AUTOCONF@
33 AUTOHEADER = @AUTOHEADER@ 32 AUTOHEADER = @AUTOHEADER@
34@@ -168,7 +168,7 @@ ANALYZE.c := @clang_path@ 33@@ -168,7 +169,7 @@ ANALYZE.c := @clang_path@
35 # 34 #
36 ifeq "$(USE_SHARED_LIBS)" "yes" 35 ifeq "$(USE_SHARED_LIBS)" "yes"
37 TESTBINDIR = ./$(BUILD_DIR)/bin/local 36 TESTBINDIR = ./$(BUILD_DIR)/bin/local
@@ -41,10 +40,10 @@ index 05f82776ff..e78f3fe9dc 100644
41 TESTBINDIR = ./$(BUILD_DIR)/bin 40 TESTBINDIR = ./$(BUILD_DIR)/bin
42 TESTBIN = ./$(BUILD_DIR)/bin 41 TESTBIN = ./$(BUILD_DIR)/bin
43diff --git a/scripts/boiler.mk b/scripts/boiler.mk 42diff --git a/scripts/boiler.mk b/scripts/boiler.mk
44index 2ce0c18f34..567cc0f22f 100644 43index 9d70104747..a882e5ce2b 100644
45--- a/scripts/boiler.mk 44--- a/scripts/boiler.mk
46+++ b/scripts/boiler.mk 45+++ b/scripts/boiler.mk
47@@ -272,6 +272,7 @@ define COMPILE_C_CMDS 46@@ -271,6 +271,7 @@ define COMPILE_C_CMDS
48 $(Q)$(ECHO) CC $< 47 $(Q)$(ECHO) CC $<
49 $(Q)$(strip ${COMPILE.c} -o $@ -c -MD ${CPPFLAGS} ${CFLAGS} ${SRC_CFLAGS} ${INCDIRS} \ 48 $(Q)$(strip ${COMPILE.c} -o $@ -c -MD ${CPPFLAGS} ${CFLAGS} ${SRC_CFLAGS} ${INCDIRS} \
50 $(addprefix -I, ${SRC_INCDIRS}) ${SRC_DEFS} ${DEFS} $<) 49 $(addprefix -I, ${SRC_INCDIRS}) ${SRC_DEFS} ${DEFS} $<)
@@ -52,7 +51,7 @@ index 2ce0c18f34..567cc0f22f 100644
52 endef 51 endef
53 else 52 else
54 # 53 #
55@@ -287,6 +288,7 @@ define COMPILE_C_CMDS 54@@ -286,6 +287,7 @@ define COMPILE_C_CMDS
56 $(Q)cppcheck --enable=style -q ${CHECKFLAGS} $(filter -isystem%,${SRC_CFLAGS}) \ 55 $(Q)cppcheck --enable=style -q ${CHECKFLAGS} $(filter -isystem%,${SRC_CFLAGS}) \
57 $(filter -I%,${SRC_CFLAGS}) $(filter -D%,${SRC_CFLAGS}) ${INCDIRS} \ 56 $(filter -I%,${SRC_CFLAGS}) $(filter -D%,${SRC_CFLAGS}) ${INCDIRS} \
58 $(addprefix -I,${SRC_INCDIRS}) ${SRC_DEFS} ${DEFS} --suppress=variableScope --suppress=invalidscanf $< 57 $(addprefix -I,${SRC_INCDIRS}) ${SRC_DEFS} ${DEFS} --suppress=variableScope --suppress=invalidscanf $<
@@ -116,21 +115,28 @@ index 916411563b..e38c1ed697 100644
116 115
117 116
118diff --git a/scripts/libtool.mk b/scripts/libtool.mk 117diff --git a/scripts/libtool.mk b/scripts/libtool.mk
119index 381127ec2d..e83d7e6ad7 100644 118index 64c2fe0804..05ed2292f0 100644
120--- a/scripts/libtool.mk 119--- a/scripts/libtool.mk
121+++ b/scripts/libtool.mk 120+++ b/scripts/libtool.mk
122@@ -60,7 +60,9 @@ ifeq "${LIBTOOL}" "JLIBTOOL" 121@@ -33,7 +33,7 @@ JLIBTOOL := ${BUILD_DIR}/make/jlibtool
123 # Tell GNU Make to use this value, rather than anything specified 122
124 # on the command line. 123 # Add a rule to build jlibtool BEFORE any other targets. This
125 override LIBTOOL := ${JLIBTOOL} 124 # means that we can use it to build the later targets.
126-endif # else we're not using jlibtool 125-all install: ${JLIBTOOL}
127+else # else we're not using jlibtool 126+all install: ${LIBTOOL}
128+ all install: ${LIBTOOL} 127
129+endif 128 # Note that we need to use a compilation rule that does NOT
129 # include referencing ${LIBTOOL}, as we don't have a jlibtool
130@@ -51,7 +51,7 @@ jlibtool_clean:
131
132 # Tell GNU Make to use this value, rather than anything specified
133 # on the command line.
134-override LIBTOOL := ${JLIBTOOL}
135+#override LIBTOOL := ${JLIBTOOL}
130 136
131 # When using libtool, it produces a '.libs' directory. Ensure that it 137 # When using libtool, it produces a '.libs' directory. Ensure that it
132 # is removed on "make clean", too. 138 # is removed on "make clean", too.
133@@ -74,11 +76,19 @@ clean: .libs_clean 139@@ -65,11 +65,19 @@ clean: .libs_clean
134 # Re-define compilers and linkers 140 # Re-define compilers and linkers
135 # 141 #
136 OBJ_EXT = lo 142 OBJ_EXT = lo