summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2011-06-24 14:44:51 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2011-07-04 18:17:55 +0200
commitdf9ae5418f5d5fe415767f114a4442fad239f156 (patch)
tree9e75ae71a96d5935662b1f23679e223ae9384fef
parentbe0b5bba06df8a4cae9c79b5473737afe1d83fa3 (diff)
downloadptxdist-df9ae5418f5d5fe415767f114a4442fad239f156.tar.gz
ptxdist-df9ae5418f5d5fe415767f114a4442fad239f156.tar.xz
host-mxs-utils: added new package
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r--patches/mxs-utils-2011.06.0/0001-configure-disable-debug-should-be-default.patch32
l---------patches/mxs-utils-2011.06.0/autogen.sh1
-rw-r--r--patches/mxs-utils-2011.06.0/series1
-rw-r--r--platforms/host-mxs-utils.in8
-rw-r--r--rules/host-mxs-utils.make36
5 files changed, 78 insertions, 0 deletions
diff --git a/patches/mxs-utils-2011.06.0/0001-configure-disable-debug-should-be-default.patch b/patches/mxs-utils-2011.06.0/0001-configure-disable-debug-should-be-default.patch
new file mode 100644
index 000000000..18be65e15
--- /dev/null
+++ b/patches/mxs-utils-2011.06.0/0001-configure-disable-debug-should-be-default.patch
@@ -0,0 +1,32 @@
+From 71395abbea24d5578f30b193357cc8c7805453fa Mon Sep 17 00:00:00 2001
+From: Robert Schwebel <r.schwebel@pengutronix.de>
+Date: Mon, 4 Jul 2011 18:12:49 +0200
+Subject: [PATCH 2/2] configure: make --disable-debug default
+
+Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
+---
+ configure.ac | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index c52987d..db13963 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -39,12 +39,12 @@ AM_INIT_AUTOMAKE([foreign no-exeext dist-bzip2])
+ #
+ AC_MSG_CHECKING([whether to enable debugging])
+ AC_ARG_ENABLE(debug,
+- AS_HELP_STRING([--enable-debug], [enable debugging @<:@default=yes@:>@]),
++ AS_HELP_STRING([--enable-debug], [enable debugging @<:@default=no@:>@]),
+ [case "$enableval" in
+ y | yes) CONFIG_DEBUG=yes ;;
+ *) CONFIG_DEBUG=no ;;
+ esac],
+- [CONFIG_DEBUG=yes])
++ [CONFIG_DEBUG=no])
+ AC_MSG_RESULT([${CONFIG_DEBUG}])
+ if test "${CONFIG_DEBUG}" = "yes"; then
+ CXXFLAGS="${CXXFLAGS} -Werror -Wsign-compare -Wfloat-equal -Wformat-security -Wno-unknown-pragmas -g -O1"
+--
+1.7.5.4
+
diff --git a/patches/mxs-utils-2011.06.0/autogen.sh b/patches/mxs-utils-2011.06.0/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /dev/null
+++ b/patches/mxs-utils-2011.06.0/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh \ No newline at end of file
diff --git a/patches/mxs-utils-2011.06.0/series b/patches/mxs-utils-2011.06.0/series
new file mode 100644
index 000000000..90afd59f1
--- /dev/null
+++ b/patches/mxs-utils-2011.06.0/series
@@ -0,0 +1 @@
+0001-configure-disable-debug-should-be-default.patch
diff --git a/platforms/host-mxs-utils.in b/platforms/host-mxs-utils.in
new file mode 100644
index 000000000..dab91a694
--- /dev/null
+++ b/platforms/host-mxs-utils.in
@@ -0,0 +1,8 @@
+## SECTION=bootloader
+
+config HOST_MXS_UTILS
+ tristate
+ prompt "mxs-utils"
+ help
+ Tool to generate bootable images for the i.MX23 and i.MX28 CPU.
+
diff --git a/rules/host-mxs-utils.make b/rules/host-mxs-utils.make
new file mode 100644
index 000000000..6286647d3
--- /dev/null
+++ b/rules/host-mxs-utils.make
@@ -0,0 +1,36 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2011 by Robert Schwebel <r.schwebel@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_MXS_UTILS) += host-mxs-utils
+
+#
+# Paths and names
+#
+HOST_MXS_UTILS_VERSION := 2011.06.0
+HOST_MXS_UTILS_MD5 := 76d11ea92537061c8dee29ed29800fc8
+HOST_MXS_UTILS := mxs-utils-$(HOST_MXS_UTILS_VERSION)
+HOST_MXS_UTILS_SUFFIX := tar.bz2
+HOST_MXS_UTILS_URL := http://www.pengutronix.de/software/mxs-utils/download/$(HOST_MXS_UTILS).$(HOST_MXS_UTILS_SUFFIX)
+HOST_MXS_UTILS_SOURCE := $(SRCDIR)/$(HOST_MXS_UTILS).$(HOST_MXS_UTILS_SUFFIX)
+HOST_MXS_UTILS_DIR := $(HOST_BUILDDIR)/$(HOST_MXS_UTILS)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_MXS_UTILS_CONF_TOOL := autoconf
+
+# vim: syntax=make