summaryrefslogtreecommitdiffstats
path: root/rules/cross-pkg-config-wrapper.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2006-12-22 20:12:39 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2006-12-22 20:12:39 +0000
commitd2cbe74396e62daba5c9ddc7dd3e001622cc4243 (patch)
tree42b61db46d11e5c94c0d6661fddde79c8211b687 /rules/cross-pkg-config-wrapper.make
parentf894bf63e3fb836fe0f5e6adbeb22814d882b09e (diff)
downloadptxdist-d2cbe74396e62daba5c9ddc7dd3e001622cc4243.tar.gz
ptxdist-d2cbe74396e62daba5c9ddc7dd3e001622cc4243.tar.xz
* hosttools.in, crosstools.in, cross-pkg-config-wrapper.in, cross-pkg-config-wrapper.make, host-pkg-config-wrapper.in, host-pkg-config-wrapper.make, pre/Virtual.make:
renamed pkg-config-wrapper from host to crosstool git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6574 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/cross-pkg-config-wrapper.make')
-rw-r--r--rules/cross-pkg-config-wrapper.make84
1 files changed, 84 insertions, 0 deletions
diff --git a/rules/cross-pkg-config-wrapper.make b/rules/cross-pkg-config-wrapper.make
new file mode 100644
index 000000000..7acd9cf7c
--- /dev/null
+++ b/rules/cross-pkg-config-wrapper.make
@@ -0,0 +1,84 @@
+# -*-makefile-*-
+# $Id$
+#
+# Copyright (C) 2005 by Robert Schwebel
+#
+# 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
+#
+CROSS_PACKAGES-$(PTXCONF_CROSS_PKG_CONFIG_WRAPPER) += cross-pkg-config-wrapper
+
+#
+# Paths and names
+#
+CROSS_PKG_CONFIG_WRAPPER_VERSION := 1.0.0
+CROSS_PKG_CONFIG_WRAPPER := pkg-config-wrapper-$(CROSS_PKG_CONFIG_WRAPPER_VERSION)
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+cross-pkg-config-wrapper_get: $(STATEDIR)/cross-pkg-config-wrapper.get
+
+$(STATEDIR)/cross-pkg-config-wrapper.get: $(cross-pkg-config-wrapper_get_deps_default)
+ @$(call targetinfo, $@)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+cross-pkg-config-wrapper_extract: $(STATEDIR)/cross-pkg-config-wrapper.extract
+
+$(STATEDIR)/cross-pkg-config-wrapper.extract: $(cross-pkg-config-wrapper_extract_deps_default)
+ @$(call targetinfo, $@)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+cross-pkg-config-wrapper_prepare: $(STATEDIR)/cross-pkg-config-wrapper.prepare
+
+$(STATEDIR)/cross-pkg-config-wrapper.prepare: $(cross-pkg-config-wrapper_prepare_deps_default)
+ @$(call targetinfo, $@)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+cross-pkg-config-wrapper_compile: $(STATEDIR)/cross-pkg-config-wrapper.compile
+
+$(STATEDIR)/cross-pkg-config-wrapper.compile: $(cross-pkg-config-wrapper_compile_deps_default)
+ @$(call targetinfo, $@)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+cross-pkg-config-wrapper_install: $(STATEDIR)/cross-pkg-config-wrapper.install
+
+$(STATEDIR)/cross-pkg-config-wrapper.install: $(cross-pkg-config-wrapper_install_deps_default)
+ @$(call targetinfo, $@)
+ install -m755 $(SCRIPTSDIR)/pkg-config-wrapper $(PTXCONF_CROSS_PREFIX)/bin/pkg-config
+ install -m755 $(SCRIPTSDIR)/pkg-config-wrapper $(PTXCONF_CROSS_PREFIX)/bin/$(COMPILER_PREFIX)pkg-config
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+cross-pkg-config-wrapper_clean:
+ rm -rf $(STATEDIR)/cross-pkg-config-wrapper.*
+ rm -rf $(IMAGEDIR)/cross-pkg-config-wrapper_*
+ rm -rf $(CROSS_PKG_CONFIG_WRAPPER_DIR)
+
+# vim: syntax=make