summaryrefslogtreecommitdiffstats
path: root/rules/host-acl.make
diff options
context:
space:
mode:
authorCarsten Schlote <c.schlote@konzeptpark.de>2010-01-08 14:51:24 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-01-08 20:45:19 +0100
commitb5e47820bcd796a61f0e4600c215228516ed686c (patch)
tree899dc8dbc6eb2fb6d01e14da2094092ade61b12a /rules/host-acl.make
parentd03fff92e253e8363e05e892e31b6e82dace07b8 (diff)
downloadptxdist-b5e47820bcd796a61f0e4600c215228516ed686c.tar.gz
ptxdist-b5e47820bcd796a61f0e4600c215228516ed686c.tar.xz
[host-acl] Added host compile for libacl.so and headers
This local build is required for other local build tools, e.g. the e2fsprogs or other stuff needed ACL support for filesystems on the host side. delete stray host-libacl.in Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/host-acl.make')
-rw-r--r--rules/host-acl.make60
1 files changed, 60 insertions, 0 deletions
diff --git a/rules/host-acl.make b/rules/host-acl.make
new file mode 100644
index 000000000..3e8f3764b
--- /dev/null
+++ b/rules/host-acl.make
@@ -0,0 +1,60 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2009 by Carsten Schlote <c.schlote@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)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+host-acl_clean:
+ rm -rf $(STATEDIR)/host-acl.*
+ rm -rf $(HOST_ACL_DIR)
+
+# vim: syntax=make