Create empty /linkerconfig/ld.config.txt in ramdisk.

This silences warnings such as:

linker: Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt"
WARNING: linker: Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt"

that are printed at the start of every command in the first
stage console.

Change-Id: I3d820e4960a4dbca34369223aed83589534c2eb6
This commit is contained in:
Peter Collingbourne 2024-02-23 22:38:54 -08:00
parent 3939d1ca59
commit 69281c31ba

View file

@ -2727,6 +2727,8 @@ $(INTERNAL_RECOVERY_RAMDISK_FILES_TIMESTAMP): $(MKBOOTFS) $(COMPRESSION_COMMAND_
$(if $(strip $(recovery_wipe)), \
cp -f $(recovery_wipe) $(TARGET_RECOVERY_ROOT_OUT)/system/etc/recovery.wipe)
ln -sf prop.default $(TARGET_RECOVERY_ROOT_OUT)/default.prop
# Silence warnings in first_stage_console.
touch $(TARGET_RECOVERY_ROOT_OUT)/linkerconfig/ld.config.txt
$(BOARD_RECOVERY_IMAGE_PREPARE)
$(hide) touch $@