diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-11-19 15:04:32 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-11-19 15:08:28 +0100 |
commit | 4f45ed2da3563e6c3e82743e8c5df6cf2f81186a (patch) | |
tree | 40b4f232d08c9b41061ced955e0380144cc9f084 /rules/cross-libtool.make | |
parent | 5de075e6e61eeaa5bf3d08a600e92d5a51ca68d6 (diff) | |
download | ptxdist-4f45ed2da3563e6c3e82743e8c5df6cf2f81186a.tar.gz ptxdist-4f45ed2da3563e6c3e82743e8c5df6cf2f81186a.tar.xz |
Revert "cross-libtool: remove duplicate package"
cpufrequtils really needs a cross libtool package.
This reverts commit beae5c667a7f11d1631f69321d6201eac5003465.
Diffstat (limited to 'rules/cross-libtool.make')
-rw-r--r-- | rules/cross-libtool.make | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/rules/cross-libtool.make b/rules/cross-libtool.make new file mode 100644 index 000000000..97bdb16da --- /dev/null +++ b/rules/cross-libtool.make @@ -0,0 +1,47 @@ +# -*-makefile-*- +# +# Copyright (C) 2008 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +LAZY_PACKAGES-$(PTXCONF_CROSS_LIBTOOL) += cross-libtool + +# +# Paths and names +# +CROSS_LIBTOOL = $(LIBLTDL) +CROSS_LIBTOOL_MD5 = $(LIBLTDL_MD5) +CROSS_LIBTOOL_DIR = $(CROSS_BUILDDIR)/$(LIBLTDL) +CROSS_LIBTOOL_SOURCE = $(LIBLTDL_SOURCE) +CROSS_LIBTOOL_DEVPKG = NO + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# 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 +# +CROSS_LIBTOOL_AUTOCONF := \ + --prefix=$(PTXCONF_SYSROOT_CROSS) \ + --host=$(PTXCONF_GNU_TARGET) \ + --build=$(GNU_HOST) + +CROSS_LIBTOOL_MAKE_OPT := libtool libtoolize +CROSS_LIBTOOL_INSTALL_OPT := install-binSCRIPTS + +# vim: syntax=make |