From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.126.187]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SFkKC-0004kg-75 for ptxdist@pengutronix.de; Thu, 05 Apr 2012 12:53:57 +0200 From: Bernhard Walle Date: Thu, 5 Apr 2012 12:50:09 +0200 Message-Id: <1333623009-21082-1-git-send-email-bernhard@bwalle.de> In-Reply-To: <20120405104935.GA20256@regiomontanus.bwalle.de> References: <20120405104935.GA20256@regiomontanus.bwalle.de> Subject: [ptxdist] [PATCH] mtd-utils: Fix build of UBI tools when mkfs.ubifs is not enabled Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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 Cc: Bernhard Walle From: Bernhard Walle This problem has been introduced in d4ba37630767095330ddc5cdc3c154cd2e4f757d. See http://thread.gmane.org/gmane.comp.embedded.ptxdist.devel/9087. Reported-by: Alexander Dahl Signed-off-by: Bernhard Walle --- .../mtd-utils-1.4.9/0001-make-ubifs-optional.patch | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/patches/mtd-utils-1.4.9/0001-make-ubifs-optional.patch b/patches/mtd-utils-1.4.9/0001-make-ubifs-optional.patch index 8160648..2cbce09 100644 --- a/patches/mtd-utils-1.4.9/0001-make-ubifs-optional.patch +++ b/patches/mtd-utils-1.4.9/0001-make-ubifs-optional.patch @@ -5,20 +5,19 @@ Subject: [PATCH] make ubifs optional Signed-off-by: Bernhard Walle --- Makefile | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) + 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile -index 17a1216..000dc86 100644 +index 17a1216..5e1692f 100644 --- a/Makefile +++ b/Makefile -@@ -30,8 +30,10 @@ UBI_BINS = \ +@@ -30,7 +30,9 @@ UBI_BINS = \ ubidetach ubinize ubiformat ubirename mtdinfo ubirsvol BINS = $(MTD_BINS) +ifneq ($(WITHOUT_MKUBIFS), 1) BINS += mkfs.ubifs/mkfs.ubifs - BINS += $(addprefix ubi-utils/,$(UBI_BINS)) +endif + BINS += $(addprefix ubi-utils/,$(UBI_BINS)) SCRIPTS = flash_eraseall - TARGETS = $(BINS) -- 1.7.9.6 -- ptxdist mailing list ptxdist@pengutronix.de