diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 82472c2194..64b8a3775e 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -214,7 +214,7 @@ define Kernel/CompileImage/Initramfs $(KERNEL_MAKE) $(if $(2),-C $(LINUX_DIR)$(2)) $(KERNEL_MAKEOPTS_IMAGE) $(if $(KERNELNAME),$(KERNELNAME),all);) \ $(call Kernel/CopyImage,-initramfs,$(2)); \ $(if $(2),rm -rf $(LINUX_DIR)$(2);) \ - }, gen-initramfs$(if $(2),-$(2))); + }, gen-initramfs$(2)); endef else define Kernel/CompileImage/Initramfs