brcm63xx: add USB support to BCM6318
[oweals/openwrt.git] / target / linux / mvebu / image / Makefile
index af29c2baae90549faec01a82db2c7acc60408956..1e4a7910e359e35f072d9c1bfee7b516b5db1348 100644 (file)
@@ -30,7 +30,9 @@ endef
 
 define Image/BuildKernel
        $(foreach dtb,$(TARGET_DTBS),$(call Image/Build/DTB,$(dtb)))
+ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
        $(call Image/Build/Initramfs)
+ endif
 endef
 
 define Image/Build/squashfs