summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-12-04 08:15:27 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-12-19 15:55:33 +0100
commitc82123687a41d5db00fd112394b5d527340eea02 (patch)
tree9d956ed5b2ac5a1367326ad4404e4fe6fcbb080c
parentd774d65d70819a7bc9a2aad25c2f999308de27ef (diff)
downloadOSELAS.Toolchain-c82123687a41d5db00fd112394b5d527340eea02.tar.gz
OSELAS.Toolchain-c82123687a41d5db00fd112394b5d527340eea02.tar.xz
host-xz: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--Kconfig1
-rw-r--r--rules/host-xz.in2
-rw-r--r--rules/host-xz.make54
3 files changed, 57 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 21fff92..576fcb8 100644
--- a/Kconfig
+++ b/Kconfig
@@ -75,6 +75,7 @@ source "workspace/rules/host-gmp.in"
source "workspace/rules/host-isl.in"
source "workspace/rules/host-mpc.in"
source "workspace/rules/host-mpfr.in"
+source "workspace/rules/host-xz.in"
source "workspace/rules/host-zlib.in"
source "workspace/rules/host-libelf.in"
source "rules/host-autotools-autoconf.in"
diff --git a/rules/host-xz.in b/rules/host-xz.in
new file mode 100644
index 0000000..b067b6b
--- /dev/null
+++ b/rules/host-xz.in
@@ -0,0 +1,2 @@
+config HOST_XZ
+ bool
diff --git a/rules/host-xz.make b/rules/host-xz.make
new file mode 100644
index 0000000..7e8c9d3
--- /dev/null
+++ b/rules/host-xz.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 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
+#
+HOST_PACKAGES-$(PTXCONF_HOST_XZ) += host-xz
+
+#
+# Paths and names
+#
+HOST_XZ_VERSION := 5.0.4
+HOST_XZ_MD5 := 741cd3a5f64b23b7bac56ec5b2258715
+HOST_XZ := xz-$(HOST_XZ_VERSION)
+HOST_XZ_SUFFIX := tar.bz2
+HOST_XZ_URL := http://tukaani.org/xz/$(HOST_XZ).$(HOST_XZ_SUFFIX)
+HOST_XZ_SOURCE := $(SRCDIR)/$(HOST_XZ).$(HOST_XZ_SUFFIX)
+HOST_XZ_DIR := $(HOST_BUILDDIR)/$(HOST_XZ)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_XZ_DEVPKG := NO
+
+#
+# autoconf
+#
+HOST_XZ_CONF_TOOL := autoconf
+HOST_XZ_CONF_OPT := \
+ $(PTX_HOST_AUTOCONF) \
+ --enable-assembler \
+ --disable-small \
+ --enable-threads \
+ --disable-xz \
+ --disable-xzdec \
+ --disable-lzmadec \
+ --disable-lzmainfo \
+ --disable-lzma-links \
+ --disable-scripts \
+ --enable-static \
+ --disable-shared \
+ --disable-nls \
+ --disable-rpath \
+ --disable-werror
+
+# vim: syntax=make