forked from openkylin/platform_build
Cleanup: ram disk -> ramdisk
Test: make Change-Id: I61740a309c6637c10b935806f7b379cfaf3ae855
This commit is contained in:
parent
6a6d6217d7
commit
4c063e33c8
|
@ -746,7 +746,7 @@ endif
|
|||
# We just build this directly to the install location.
|
||||
INSTALLED_RAMDISK_TARGET := $(BUILT_RAMDISK_TARGET)
|
||||
$(INSTALLED_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_RAMDISK_FILES) $(INSTALLED_FILES_FILE_RAMDISK) | $(COMPRESSION_COMMAND_DEPS)
|
||||
$(call pretty,"Target ram disk: $@")
|
||||
$(call pretty,"Target ramdisk: $@")
|
||||
$(hide) $(MKBOOTFS) -d $(TARGET_OUT) $(TARGET_RAMDISK_OUT) | $(COMPRESSION_COMMAND) > $@
|
||||
|
||||
.PHONY: ramdisk-nodeps
|
||||
|
@ -993,7 +993,7 @@ $(INTERNAL_VENDOR_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_VENDOR_RAMDISK_FILES)
|
|||
ifeq (true,$(BOARD_BUILD_VENDOR_RAMDISK_IMAGE))
|
||||
INSTALLED_VENDOR_RAMDISK_TARGET := $(PRODUCT_OUT)/vendor_ramdisk.img
|
||||
$(INSTALLED_VENDOR_RAMDISK_TARGET): $(INTERNAL_VENDOR_RAMDISK_TARGET)
|
||||
$(call pretty,"Target vendor ram disk: $@")
|
||||
$(call pretty,"Target vendor ramdisk: $@")
|
||||
$(copy-file-to-target)
|
||||
endif
|
||||
|
||||
|
@ -2281,7 +2281,7 @@ else
|
|||
$(INSTALLED_DEBUG_RAMDISK_TARGET): $(INSTALLED_RAMDISK_TARGET)
|
||||
endif # BOARD_USES_RECOVERY_AS_BOOT
|
||||
$(INSTALLED_DEBUG_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_DEBUG_RAMDISK_FILES) | $(COMPRESSION_COMMAND_DEPS)
|
||||
$(call pretty,"Target debug ram disk: $@")
|
||||
$(call pretty,"Target debug ramdisk: $@")
|
||||
mkdir -p $(TARGET_DEBUG_RAMDISK_OUT)
|
||||
touch $(TARGET_DEBUG_RAMDISK_OUT)/force_debuggable
|
||||
rsync -a $(DEBUG_RAMDISK_SYNC_DIR)/ $(DEBUG_RAMDISK_ROOT_DIR)
|
||||
|
@ -2390,7 +2390,7 @@ $(INTERNAL_VENDOR_DEBUG_RAMDISK_TARGET): DEBUG_RAMDISK_DIR := $(PRODUCT_OUT)/deb
|
|||
$(INTERNAL_VENDOR_DEBUG_RAMDISK_TARGET): VENDOR_DEBUG_RAMDISK_DIR := $(PRODUCT_OUT)/vendor_debug_ramdisk
|
||||
$(INTERNAL_VENDOR_DEBUG_RAMDISK_TARGET): $(INTERNAL_VENDOR_RAMDISK_TARGET) $(INSTALLED_DEBUG_RAMDISK_TARGET)
|
||||
$(INTERNAL_VENDOR_DEBUG_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_VENDOR_DEBUG_RAMDISK_FILES) | $(COMPRESSION_COMMAND_DEPS)
|
||||
$(call pretty,"Target vendor debug ram disk: $@")
|
||||
$(call pretty,"Target vendor debug ramdisk: $@")
|
||||
mkdir -p $(TARGET_VENDOR_DEBUG_RAMDISK_OUT)
|
||||
touch $(TARGET_VENDOR_DEBUG_RAMDISK_OUT)/force_debuggable
|
||||
$(foreach debug_file,$(DEBUG_RAMDISK_FILES), \
|
||||
|
@ -2475,7 +2475,7 @@ endef
|
|||
|
||||
$(INSTALLED_TEST_HARNESS_RAMDISK_TARGET): $(INSTALLED_DEBUG_RAMDISK_TARGET)
|
||||
$(INSTALLED_TEST_HARNESS_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_TEST_HARNESS_RAMDISK_FILES) | $(COMPRESSION_COMMAND_DEPS)
|
||||
$(call pretty,"Target test harness ram disk: $@")
|
||||
$(call pretty,"Target test harness ramdisk: $@")
|
||||
rsync -a $(TEST_HARNESS_RAMDISK_SYNC_DIR)/ $(TEST_HARNESS_RAMDISK_ROOT_DIR)
|
||||
$(call append-test-harness-props,$(ADDITIONAL_TEST_HARNESS_PROPERTIES),$(TEST_HARNESS_PROP_TARGET))
|
||||
$(MKBOOTFS) -d $(TARGET_OUT) $(TEST_HARNESS_RAMDISK_ROOT_DIR) | $(COMPRESSION_COMMAND) > $@
|
||||
|
|
Loading…
Reference in New Issue