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-06-20 15:33:03 +0200
commita0eb88eaa7863d8f56a70d2eb088f71e2a564d35 (patch)
treedb93b88c2f6902f3ba5a9df9ee978400a902a737
parent7f195586c0170ba6ec71c01ab73d465b94d6dbbd (diff)
downloadOSELAS.Toolchain-a0eb88eaa7863d8f56a70d2eb088f71e2a564d35.tar.gz
OSELAS.Toolchain-a0eb88eaa7863d8f56a70d2eb088f71e2a564d35.tar.xz
host-expat: new package
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