[PATCH] fix parallel build between ubi-utils and mkfs.ubifs

Mike Frysinger vapier at gentoo.org
Mon Jul 19 23:06:41 EDT 2010


Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index b558705..8457654 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,9 @@ endif
 
 SUBDIRS = lib ubi-utils mkfs.ubifs
 
+# mkfs.ubifs needs -lubi which is in ubi-utils/
+subdirs_mkfs.ubifs_all: subdirs_ubi-utils_all
+
 TARGETS = ftl_format flash_erase flash_eraseall nanddump doc_loadbios \
 	ftl_check mkfs.jffs2 flash_lock flash_unlock flash_info \
 	flash_otp_info flash_otp_dump mtd_debug flashcp nandwrite nandtest \
-- 
1.7.1.1




More information about the linux-mtd mailing list