summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-06-20 15:31:43 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-07-23 17:37:23 +0200
commitd29b33d62a1d7f23e0fad93d59dac56b165beeb7 (patch)
tree2d25554b08b7fc1fe5804973d593716a1806f92e
parentdcc8dba8b820e757642c16644224003d26e11d35 (diff)
downloadOSELAS.Toolchain-d29b33d62a1d7f23e0fad93d59dac56b165beeb7.tar.gz
OSELAS.Toolchain-d29b33d62a1d7f23e0fad93d59dac56b165beeb7.tar.xz
host-expat: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> (cherry picked from commit a0eb88eaa7863d8f56a70d2eb088f71e2a564d35) Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--Kconfig1
-rw-r--r--rules/host-expat.in2
-rw-r--r--rules/host-expat.make44
3 files changed, 47 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 71c4347..bbd0919 100644
--- a/Kconfig
+++ b/Kconfig
@@ -68,6 +68,7 @@ source "workspace/rules/kernel-headers.in"
source "workspace/rules/cross-gcc.in"
source "workspace/rules/cross-gdb.in"
source "workspace/rules/cross-toolchain.in"
+source "workspace/rules/host-expat.in"
source "workspace/rules/host-gmp.in"
source "workspace/rules/host-mpc.in"
source "workspace/rules/host-mpfr.in"
diff --git a/rules/host-expat.in b/rules/host-expat.in
new file mode 100644
index 0000000..c8d4305
--- /dev/null
+++ b/rules/host-expat.in
@@ -0,0 +1,2 @@
+config HOST_EXPAT
+ bool
diff --git a/rules/host-expat.make b/rules/host-expat.make
new file mode 100644
index 0000000..32e6a36
--- /dev/null
+++ b/rules/host-expat.make
@@ -0,0 +1,44 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2012 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_EXPAT) += host-expat
+
+#
+# Paths and names
+#
+HOST_EXPAT_VERSION := 2.0.1
+HOST_EXPAT_MD5 := e4b08e8477e1dccb56b95078c6d6ff88
+HOST_EXPAT := expat-$(HOST_EXPAT_VERSION)
+# Note: repackaged tar.bz2 as tar.gz seems broken.
+HOST_EXPAT_SUFFIX := tar.bz2
+HOST_EXPAT_URL := http://www.pengutronix.de/software/ptxdist/temporary-src/$(HOST_EXPAT).$(HOST_EXPAT_SUFFIX)
+HOST_EXPAT_SOURCE := $(SRCDIR)/$(HOST_EXPAT).$(HOST_EXPAT_SUFFIX)
+HOST_EXPAT_DIR := $(HOST_BUILDDIR)/$(HOST_EXPAT)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#HOST_EXPAT_CONF_ENV := $(HOST_ENV)
+HOST_EXPAT_DEVPKG := NO
+
+#
+# autoconf
+#
+HOST_EXPAT_CONF_TOOL := autoconf
+HOST_EXPAT_CONF_OPT := \
+ $(PTX_HOST_AUTOCONF) \
+ --disable-shared \
+ --enable-static
+
+# vim: syntax=make