x86: Move efi .lds files into the 'lib' directory
authorSimon Glass <sjg@chromium.org>
Mon, 7 Nov 2016 15:47:13 +0000 (08:47 -0700)
committerAlexander Graf <agraf@suse.de>
Mon, 14 Nov 2016 22:24:04 +0000 (23:24 +0100)
These files now need to be in a standard place so that they can be located
by generic Makefile rules. Move them to the 'lib' directory.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/x86/config.mk
arch/x86/lib/elf_ia32_efi.lds [moved from arch/x86/cpu/efi/elf_ia32_efi.lds with 100% similarity]
arch/x86/lib/elf_x86_64_efi.lds [moved from arch/x86/cpu/efi/elf_x86_64_efi.lds with 100% similarity]

index d7addd8..a17abbb 100644 (file)
@@ -45,7 +45,7 @@ endif
 
 EFIPAYLOAD_BFDARCH = i386
 
-LDSCRIPT_EFI := $(srctree)/$(CPUDIR)/efi/elf_$(EFIARCH)_efi.lds
+LDSCRIPT_EFI := $(srctree)/arch/x86/lib/elf_$(EFIARCH)_efi.lds
 EFISTUB := crt0-efi-$(EFIARCH).o reloc_$(EFIARCH).o
 OBJCOPYFLAGS_EFI += --target=efi-app-$(EFIARCH)