From df9ae5418f5d5fe415767f114a4442fad239f156 Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Fri, 24 Jun 2011 14:44:51 +0200 Subject: host-mxs-utils: added new package Signed-off-by: Robert Schwebel --- ...configure-disable-debug-should-be-default.patch | 32 +++++++++++++++++++ patches/mxs-utils-2011.06.0/autogen.sh | 1 + patches/mxs-utils-2011.06.0/series | 1 + platforms/host-mxs-utils.in | 8 +++++ rules/host-mxs-utils.make | 36 ++++++++++++++++++++++ 5 files changed, 78 insertions(+) create mode 100644 patches/mxs-utils-2011.06.0/0001-configure-disable-debug-should-be-default.patch create mode 120000 patches/mxs-utils-2011.06.0/autogen.sh create mode 100644 patches/mxs-utils-2011.06.0/series create mode 100644 platforms/host-mxs-utils.in create mode 100644 rules/host-mxs-utils.make 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 +Date: Mon, 4 Jul 2011 18:12:49 +0200 +Subject: [PATCH 2/2] configure: make --disable-debug default + +Signed-off-by: Robert Schwebel +--- + 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 +# +# 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 -- cgit v1.2.3