--- zzzz-none-000/linux-3.10.107/usr/Makefile 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/usr/Makefile 2021-11-10 11:53:56.000000000 +0000 @@ -57,6 +57,15 @@ # do not try to update files included in initramfs $(deps_initramfs): ; +ifeq ($(CONFIG_UBIFS_INITRD_INIT),y) +ramfs-input += lib/ubifs-init/initrd + +$(obj)/../lib/ubifs-init/initrd/init: FORCE + @$(MAKE) -f scripts/Makefile.build obj=lib/ubifs-init lib/ubifs-init/init + +$(obj)/initramfs_data.cpio$(suffix_y): $(obj)/../lib/ubifs-init/initrd/init +endif + $(deps_initramfs): klibcdirs # We rebuild initramfs_data.cpio if: # 1) Any included file is newer then initramfs_data.cpio