From: Carsten Schlote <c.schl...@konzeptpark.de>

This local build is required for other local build tools.
See follow up patches.

Signed-off-by: Carsten Schlote <c.schl...@konzeptpark.de>
---
 rules/host-attr.in   |    3 ++
 rules/host-attr.make |   86 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+), 0 deletions(-)
 create mode 100644 rules/host-attr.make

diff --git a/rules/host-attr.in b/rules/host-attr.in
index 4cf5ed8..aa6c8cd 100644
--- a/rules/host-attr.in
+++ b/rules/host-attr.in
@@ -2,3 +2,6 @@
 
 config HOST_ATTR
        tristate
+       prompt "attr"
+       help
+         FIXME
diff --git a/rules/host-attr.make b/rules/host-attr.make
new file mode 100644
index 0000000..e9ce8ff
--- /dev/null
+++ b/rules/host-attr.make
@@ -0,0 +1,86 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2009 by Carsten Schlote <c.schl...@konzeptpark.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
+#
+HOST_PACKAGES-$(PTXCONF_HOST_ATTR) += host-attr
+
+#
+# Paths and names
+#
+HOST_ATTR_DIR  = $(HOST_BUILDDIR)/$(ATTR)
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-attr.get: $(STATEDIR)/attr.get
+       @$(call targetinfo)
+       @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-attr.extract:
+       @$(call targetinfo)
+       @$(call clean, $(HOST_ATTR_DIR))
+       @$(call extract, ATTR, $(HOST_BUILDDIR))
+       @$(call patchin, ATTR, $(HOST_ATTR_DIR))
+       @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_ATTR_PATH := PATH=$(HOST_PATH)
+HOST_ATTR_ENV  := $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_ATTR_AUTOCONF     := $(HOST_AUTOCONF)
+
+#$(STATEDIR)/host-attr.prepare:
+#      @$(call targetinfo)
+#      @$(call clean, $(HOST_ATTR_DIR)/config.cache)
+#      cd $(HOST_ATTR_DIR) && \
+#              $(HOST_ATTR_PATH) $(HOST_ATTR_ENV) \
+#              ./configure $(HOST_ATTR_AUTOCONF)
+#      @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-attr.compile:
+#      @$(call targetinfo)
+#      cd $(HOST_ATTR_DIR) && $(HOST_ATTR_PATH) $(MAKE) $(PARALLELMFLAGS)
+#      @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-attr.install:
+#      @$(call targetinfo)
+#      @$(call install, HOST_ATTR)
+#      @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+host-attr_clean:
+       rm -rf $(STATEDIR)/host-attr.*
+       rm -rf $(HOST_ATTR_DIR)
+
+# vim: syntax=make
-- 
1.6.5.6.gb3118


--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to