Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69281c31 authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

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
parent 3939d1ca
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 $@