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

Florian Fainelli florian at openwrt.org
Tue Jul 20 09:24:39 EDT 2010


Hi,

On Tuesday 20 July 2010 05:06:41 Mike Frysinger wrote:
> 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
> +

Do not you want this to be moved after include common.mk instead?
I had a build error with your patch, the version below works for me.
--

--- a/Makefile  2010-01-15 18:12:24.000000000 +0100
+++ b/Makefile  2010-07-20 15:23:02.000000000 +0200
@@ -22,6 +22,9 @@
 
 include common.mk
 
+# mkfs.ubifs needs -lubi which is in ubi-utils/
+subdirs_mkfs.ubifs_all: subdirs_ubi-utils_all
+
 clean::
        -rm -f $(SYMLINKS)
 ifneq ($(BUILDDIR)/.git,)

--
Florian




More information about the linux-mtd mailing list