Fixes following error:

        $ make -j8 V=s

        ...snip...

        ar: .: file changed as we read it
        make[5]: *** [mkfs-targz] Error 1
        make[5]: *** Waiting for unfinished jobs....

        ...snip...

        Build failed - please re-run with -j1 to see the real error message
        make: *** [world] Error 1

Signed-off-by: Petr Štetiar <yn...@true.cz>
---
 include/image.mk |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/image.mk b/include/image.mk
index c59222e..2554171 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -558,6 +558,8 @@ define BuildImage
        $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(if $(IB),,$(call 
Image/BuildKernel/Initramfs)))
        $(call Image/InstallKernel)
 
+  .NOTPARALLEL :
+
   $(foreach device,$(TARGET_DEVICES),$(call Device,$(device)))
   $(foreach fs,$(TARGET_FILESYSTEMS) $(fs-subtypes-y),$(call 
BuildImage/mkfs,$(fs)))
 
-- 
1.7.9.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to