diff mbox

fix parallel build between ubi-utils and mkfs.ubifs

Message ID 201007201524.39147.florian@openwrt.org
State New, archived
Headers show

Commit Message

Florian Fainelli July 20, 2010, 1:24 p.m. UTC
Hi,

On Tuesday 20 July 2010 05:06:41 Mike Frysinger wrote:
> Signed-off-by: Mike Frysinger <vapier@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.
--


--
Florian
diff mbox

Patch

--- 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,)