[OpenWrt-Devel] [PATCH] image.mk: Add NOTPARALLEL flag to fix parallel build breakage
ynezz at true.cz
Fri Oct 30 17:20:13 EDT 2015
Felix Fietkau <nbd at openwrt.org> [2015-10-30 16:14:49]:
> I'd like to find out where the real bug is - what target are you
> building where you hit this error?
it's imx6 target, but probably kirkwood, lantiq, mxs and oxnas are affected
also (just by guessing by output from 'git grep Image/InstallKernel/Template').
I think, that the problem is lying in include/image.mk:
556 kernel_prepare: mkfs_prepare
557 $(call Image/BuildKernel)
558 $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(if $(IB),,$(call Image/BuildKernel/Initramfs)))
559 $(call Image/InstallKernel)
561 $(foreach device,$(TARGET_DEVICES),$(call Device,$(device)))
562 $(foreach fs,$(TARGET_FILESYSTEMS) $(fs-subtypes-y),$(call BuildImage/mkfs,$(fs)))
where probably Image/InstallKernel is run in parallel with BuildImage/mkfs and
Image/InstallKernel then touches $(TARGET_DIR)/boot which Image/mkfs/targz is
compressing in another job.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel