diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index ef30c79a4e..7b53a2f744 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -300,6 +300,7 @@ define Image/Build endef define Image/Build/Profile + $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(call Image/Build/Profile/$(1),initramfs)) $(call Image/Build/Profile/$(1),$(2)) endef