From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from gallifrey.ext.pengutronix.de ([2001:6f8:1178:4:5054:ff:fe8d:eefb] helo=localhost) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SkbBf-0006WL-Rk for ptxdist@pengutronix.de; Fri, 29 Jun 2012 15:24:40 +0200 From: Juergen Beisert Date: Fri, 29 Jun 2012 15:24:39 +0200 References: <201206261520.48071.jbe@pengutronix.de> <20120629124149.GS10551@pengutronix.de> In-Reply-To: <20120629124149.GS10551@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201206291524.39218.jbe@pengutronix.de> Subject: [ptxdist] [PATCHv2] dosfstools: Fix missing environment forwarding Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de With the current rule file, PTXdist does not forward any of the required environment variables. Only the DOSFSTOOLS_MAKEVARS settings are used to build the tools, so at least the correct compiler was used, but not the correct header and library include paths for example. Signed-off-by: Juergen Beisert diff --git a/rules/dosfstools.make b/rules/dosfstools.make index 5b9c527..28f8432 100644 --- a/rules/dosfstools.make +++ b/rules/dosfstools.make @@ -27,21 +27,28 @@ DOSFSTOOLS_SOURCE := $(SRCDIR)/$(DOSFSTOOLS_SRC) DOSFSTOOLS_DIR := $(BUILDDIR)/$(DOSFSTOOLS) # ---------------------------------------------------------------------------- -# Prepare +# Prepare (nothing to be done here) # ---------------------------------------------------------------------------- -DOSFSTOOLS_PATH := PATH=$(CROSS_PATH) -DOSFSTOOLS_ENV := $(CROSS_ENV) +DOSFSTOOLS_CONF_TOOL := NO -DOSFSTOOLS_MAKEVARS := \ +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +DOSFSTOOLS_MAKE_ENV := $(CROSS_ENV) +DOSFSTOOLS_MAKE_OPT := \ OPTFLAGS='-O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' \ PREFIX=/usr \ - SBINDIR=/sbin \ - $(CROSS_ENV_CC) + SBINDIR=/sbin -$(STATEDIR)/dosfstools.prepare: - @$(call targetinfo) - @$(call touch) +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +DOSFSTOOLS_INSTALL_OPT := \ + $(DOSFSTOOLS_MAKE_OPT) \ + install # ---------------------------------------------------------------------------- # Target-Install -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | -- ptxdist mailing list ptxdist@pengutronix.de