summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0001-configure-use-AC_CHECK_TOOL-for-objcopy-strings-and-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0001-configure-use-AC_CHECK_TOOL-for-objcopy-strings-and-.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0001-configure-use-AC_CHECK_TOOL-for-objcopy-strings-and-.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-configure-use-AC_CHECK_TOOL-for-objcopy-strings-and-.patch b/meta/recipes-core/systemd/systemd/0001-configure-use-AC_CHECK_TOOL-for-objcopy-strings-and-.patch
deleted file mode 100644
index d847bbc202..0000000000
--- a/meta/recipes-core/systemd/systemd/0001-configure-use-AC_CHECK_TOOL-for-objcopy-strings-and-.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From d6f92bcbbae9a577adb9588c7b2783a5d0bf343d Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Tue, 16 Apr 2013 14:20:41 +0200
4Subject: [PATCH] configure: use AC_CHECK_TOOL for objcopy, strings and gperf
5
6* using AC_PATH_TOOL does not allow to override it from shell environment
7 which is useful when cross-compiling
8* with external toolchain I have different HOST_PREFIX and HOST_SYS
9 AC_PATH_TOOL is using HOST_SYS as prefix and fails to find objcopy
10 which is available only as ${TARGET_PREFIX}objcopy then it tries
11 objcopy without prefix which is found on host, but that objcopy
12 does not work for !host (e.g. arm when building on x86) libs
13
14Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
15Upstream-Status: Submitted
16http://lists.freedesktop.org/archives/systemd-devel/2013-April/010468.html
17
18---
19 configure.ac | 6 +++---
20 1 file changed, 3 insertions(+), 3 deletions(-)
21
22diff --git a/configure.ac b/configure.ac
23index 33b0ca9..519f1a9 100644
24--- a/configure.ac
25+++ b/configure.ac
26@@ -86,9 +86,9 @@ GOBJECT_INTROSPECTION_CHECK([1.31.1])
27 AM_CONDITIONAL([HAVE_INTROSPECTION], [false])
28 enable_introspection=no])
29
30-AC_PATH_TOOL(OBJCOPY, objcopy)
31-AC_PATH_TOOL(STRINGS, strings)
32-AC_PATH_TOOL(GPERF, gperf)
33+AC_CHECK_TOOL(OBJCOPY, objcopy)
34+AC_CHECK_TOOL(STRINGS, strings)
35+AC_CHECK_TOOL(GPERF, gperf)
36 if test -z "$GPERF" ; then
37 AC_MSG_ERROR([*** gperf not found])
38 fi
39--
401.8.1.5
41