Przeglądaj źródła

build: do not call initramfs build from within the image builder

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 45837
Felix Fietkau 10 lat temu
rodzic
commit
bf93fde164
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      include/image.mk

+ 1 - 1
include/image.mk

@@ -471,7 +471,7 @@ define BuildImage
 
 
   kernel_prepare: mkfs_prepare
   kernel_prepare: mkfs_prepare
 	$(call Image/BuildKernel)
 	$(call Image/BuildKernel)
-	$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(call Image/BuildKernel/Initramfs))
+	$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(if $(IB),,$(call Image/BuildKernel/Initramfs)))
 	$(call Image/InstallKernel)
 	$(call Image/InstallKernel)
 
 
   $(foreach device,$(TARGET_DEVICES),$(call Device,$(device)))
   $(foreach device,$(TARGET_DEVICES),$(call Device,$(device)))