summaryrefslogtreecommitdiffstats
path: root/rules/cross-libtool.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-01-20 17:32:11 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-01-21 08:41:45 +0100
commita70dc1630c0479ef7f51c0f61e377eb609749fda (patch)
tree54ec5fe3d26565cc959033b79fefd67a86064efb /rules/cross-libtool.make
parentd33191360d0905989fef9da0dba17837f78a7a6d (diff)
downloadptxdist-a70dc1630c0479ef7f51c0f61e377eb609749fda.tar.gz
ptxdist-a70dc1630c0479ef7f51c0f61e377eb609749fda.tar.xz
[cross-libtool] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/cross-libtool.make')
-rw-r--r--rules/cross-libtool.make32
1 files changed, 11 insertions, 21 deletions
diff --git a/rules/cross-libtool.make b/rules/cross-libtool.make
index 2b819ec77..6836833d5 100644
--- a/rules/cross-libtool.make
+++ b/rules/cross-libtool.make
@@ -16,33 +16,20 @@ CROSS_PACKAGES-$(PTXCONF_CROSS_LIBTOOL) += cross-libtool
#
# Paths and names
#
+CROSS_LIBTOOL = $(LIBLTDL)
CROSS_LIBTOOL_DIR = $(CROSS_BUILDDIR)/$(LIBLTDL)
-
-# ----------------------------------------------------------------------------
-# Get
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/cross-libtool.get: $(STATEDIR)/libltdl.get
- @$(call targetinfo)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/cross-libtool.extract:
- @$(call targetinfo)
- @$(call clean, $(CROSS_LIBTOOL_DIR))
- @$(call extract, LIBLTDL, $(CROSS_BUILDDIR))
- @$(call patchin, LIBLTDL, $(CROSS_LIBTOOL_DIR))
- @$(call touch)
+CROSS_LIBTOOL_SOURCE = $(LIBLTDL_SOURCE)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
-CROSS_LIBTOOL_PATH := PATH=$(CROSS_PATH)
-CROSS_LIBTOOL_ENV := $(CROSS_ENV)
+# We really only need the libtool script and it should default to $(CROSS_CC)
+# as compiler. So we configure libtool for the target and only create and
+# install the scripts.
+
+CROSS_LIBTOOL_CONF_ENV := \
+ $(CROSS_ENV)
#
# autoconf
@@ -53,4 +40,7 @@ CROSS_LIBTOOL_AUTOCONF := \
--host=$(PTXCONF_GNU_TARGET) \
--build=$(GNU_HOST)
+CROSS_LIBTOOL_MAKE_OPT := libtool libtoolize
+CROSS_LIBTOOL_INSTALL_OPT := install-binSCRIPTS
+
# vim: syntax=make