aboutsummaryrefslogtreecommitdiff
path: root/core/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile
index aa463cd7c0..5a9ab1539f 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -359,7 +359,7 @@ INTERNAL_RAMDISK_FILES := $(filter $(TARGET_ROOT_OUT)/%, \
ifeq ($(TARGET_BOOTLOADER_TYPE),uboot)
BUILT_RAMDISK_TARGET := $(PRODUCT_OUT)/uInitrd
else
-BUILT_RAMDISK_TARGET := $(PRODUCT_OUT)/ramdisk.img
+BUILT_RAMDISK_TARGET := $(PRODUCT_OUT)/$(or $(INSTALLED_RAMDISK_TARGET_NAME),ramdisk.img)
endif
# We just build this directly to the install location.