summaryrefslogtreecommitdiffstats
path: root/patches/mtd-utils-1.5.0/0003-make-ubifs-optional.patch
blob: a71a8c9606fac0b659bea15dd0b6c977835c3214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Bernhard Walle <bernhard@bwalle.de>
Date: Sun, 11 Mar 2012 20:03:50 +0100
Subject: [PATCH mtd-utils] make ubifs optional

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index f380b42..a682a8f 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,9 @@ UBI_BINS = \
 	ubidetach ubinize ubiformat ubirename mtdinfo ubirsvol
 
 BINS = $(MTD_BINS)
+ifneq ($(WITHOUT_MKUBIFS), 1)
 BINS += mkfs.ubifs/mkfs.ubifs
+endif
 BINS += $(addprefix ubi-utils/,$(UBI_BINS))
 SCRIPTS = flash_eraseall