From: Carsten Schlote <[email protected]> This local build is required for other local build tools. See follow up patches.
Signed-off-by: Carsten Schlote <[email protected]> --- rules/host-mtd-utils.in | 2 +- rules/host-util-linux-ng.in | 8 ++++ rules/host-util-linux-ng.make | 88 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 97 insertions(+), 1 deletions(-) create mode 100644 rules/host-util-linux-ng.in create mode 100644 rules/host-util-linux-ng.make diff --git a/rules/host-mtd-utils.in b/rules/host-mtd-utils.in index 2e501c0..7c3b629 100644 --- a/rules/host-mtd-utils.in +++ b/rules/host-mtd-utils.in @@ -4,4 +4,4 @@ config HOST_MTD_UTILS tristate select HOST_LIBLZO select HOST_ZLIB - select HOST_E2FSPROGS + select HOST_UTIL_LINUX_NG diff --git a/rules/host-util-linux-ng.in b/rules/host-util-linux-ng.in new file mode 100644 index 0000000..b457267 --- /dev/null +++ b/rules/host-util-linux-ng.in @@ -0,0 +1,8 @@ +## SECTION=hosttools + +config HOST_UTIL_LINUX_NG + tristate + prompt "util-linux-ng (host libs) " + select HOST_GETTEXT + help + Useful hosttools and libs for linux ng utils. diff --git a/rules/host-util-linux-ng.make b/rules/host-util-linux-ng.make new file mode 100644 index 0000000..6f1f1b4 --- /dev/null +++ b/rules/host-util-linux-ng.make @@ -0,0 +1,88 @@ +# -*-makefile-*- +# +# Copyright (C) 2010 by Carsten Schlote <[email protected]> +# +# 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_UTIL_LINUX_NG) += host-util-linux-ng + +# +# Paths and names +# +HOST_UTIL_LINUX_NG_DIR = $(HOST_BUILDDIR)/$(UTIL_LINUX_NG) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-util-linux-ng.get: $(STATEDIR)/util-linux-ng.get + @$(call targetinfo) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-util-linux-ng.extract: + @$(call targetinfo) + @$(call clean, $(HOST_UTIL_LINUX_NG_DIR)) + @$(call extract, UTIL_LINUX_NG, $(HOST_BUILDDIR)) + @$(call patchin, UTIL_LINUX_NG, $(HOST_UTIL_LINUX_NG_DIR)) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_UTIL_LINUX_NG_PATH := PATH=$(HOST_PATH) +HOST_UTIL_LINUX_NG_ENV := $(HOST_ENV) + +# +# autoconf +# +HOST_UTIL_LINUX_NG_AUTOCONF := $(HOST_AUTOCONF) \ + --disable-use-tty-group \ + --disable-makeinstall-chown + +#$(STATEDIR)/host-util-linux-ng.prepare: +# @$(call targetinfo) +# @$(call clean, $(HOST_UTIL_LINUX_NG_DIR)/config.cache) +# cd $(HOST_UTIL_LINUX_NG_DIR) && \ +# $(HOST_UTIL_LINUX_NG_PATH) $(HOST_UTIL_LINUX_NG_ENV) \ +# ./configure $(HOST_UTIL_LINUX_NG_AUTOCONF) +# @$(call touch) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +#$(STATEDIR)/host-util-linux-ng.compile: +# @$(call targetinfo) +# cd $(HOST_UTIL_LINUX_NG_DIR) && $(HOST_UTIL_LINUX_NG_PATH) $(MAKE) $(PARALLELMFLAGS) +# @$(call touch) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +#$(STATEDIR)/host-util-linux-ng.install: +# @$(call targetinfo) +# @$(call install, HOST_UTIL_LINUX_NG) +# @$(call touch) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +host-util-linux-ng_clean: + rm -rf $(STATEDIR)/host-util-linux-ng.* + rm -rf $(HOST_UTIL_LINUX_NG_DIR) + +# vim: syntax=make -- 1.6.5.6.gb3118 -- ptxdist mailing list [email protected]
