Explorar el Código

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

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

SVN-Revision: 45837
Felix Fietkau hace 10 años
padre
commit
bf93fde164
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      include/image.mk

+ 1 - 1
include/image.mk

@@ -471,7 +471,7 @@ define BuildImage
 
   kernel_prepare: mkfs_prepare
 	$(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)
 
   $(foreach device,$(TARGET_DEVICES),$(call Device,$(device)))