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-acl.in    |    8 +++++
 rules/host-acl.make  |   86 ++++++++++++++++++++++++++++++++++++++++++++++++++
 rules/host-gperf.in  |    1 +
 rules/host-libacl.in |    5 ---
 4 files changed, 95 insertions(+), 5 deletions(-)
 create mode 100644 rules/host-acl.in
 create mode 100644 rules/host-acl.make
 delete mode 100644 rules/host-libacl.in

diff --git a/rules/host-acl.in b/rules/host-acl.in
new file mode 100644
index 0000000..4180ca4
--- /dev/null
+++ b/rules/host-acl.in
@@ -0,0 +1,8 @@
+## SECTION=hosttools_noprompt
+
+config HOST_ACL
+       tristate
+       select HOST_ATTR
+       prompt "acl"
+       help
+         FIXME
diff --git a/rules/host-acl.make b/rules/host-acl.make
new file mode 100644
index 0000000..fa4487e
--- /dev/null
+++ b/rules/host-acl.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_ACL) += host-acl
+
+#
+# Paths and names
+#
+HOST_ACL_DIR   = $(HOST_BUILDDIR)/$(ACL)
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-acl.get: $(STATEDIR)/acl.get
+       @$(call targetinfo)
+       @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-acl.extract:
+       @$(call targetinfo)
+       @$(call clean, $(HOST_ACL_DIR))
+       @$(call extract, ACL, $(HOST_BUILDDIR))
+       @$(call patchin, ACL, $(HOST_ACL_DIR))
+       @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_ACL_PATH  := PATH=$(HOST_PATH)
+HOST_ACL_ENV   := $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_ACL_AUTOCONF      := $(HOST_AUTOCONF)
+
+#$(STATEDIR)/host-acl.prepare:
+#      @$(call targetinfo)
+#      @$(call clean, $(HOST_ACL_DIR)/config.cache)
+#      cd $(HOST_ACL_DIR) && \
+#              $(HOST_ACL_PATH) $(HOST_ACL_ENV) \
+#              ./configure $(HOST_ACL_AUTOCONF)
+#      @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-acl.compile:
+#      @$(call targetinfo)
+#      cd $(HOST_ACL_DIR) && $(HOST_ACL_PATH) $(MAKE) $(PARALLELMFLAGS)
+#      @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-acl.install:
+#      @$(call targetinfo)
+#      @$(call install, HOST_ACL)
+#      @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+host-acl_clean:
+       rm -rf $(STATEDIR)/host-acl.*
+       rm -rf $(HOST_ACL_DIR)
+
+# vim: syntax=make
diff --git a/rules/host-gperf.in b/rules/host-gperf.in
index 7105958..ccd6979 100644
--- a/rules/host-gperf.in
+++ b/rules/host-gperf.in
@@ -2,6 +2,7 @@
 
 config HOST_GPERF
        tristate
+       select HOST_ACL
        help
          Perfect hash function generator
 
diff --git a/rules/host-libacl.in b/rules/host-libacl.in
deleted file mode 100644
index 8c5fea1..0000000
--- a/rules/host-libacl.in
+++ /dev/null
@@ -1,5 +0,0 @@
-## SECTION=hosttools_noprompt
-
-config HOST_LIBACL
-       tristate
-       select HOST_ATTR
-- 
1.6.5.6.gb3118


--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to