diff options
author | Keerthy | 2020-02-12 13:55:03 +0530 |
---|---|---|
committer | Lokesh Vutla | 2020-03-03 13:08:14 +0530 |
commit | 805b3cac1e0cae04d16ab893f5cffb446ec74c9c (patch) | |
tree | 9c1b7780a1a354313d421c7529802eece5c1a19c /lib/Makefile | |
parent | 0900254c8caf0736e4816fd579596989bd6b4eb9 (diff) |
lib: elf: Move the generic elf loading/validating functions to lib
Move the generic elf loading/validating functions to lib/
so that they can be re-used and accessed by code existing
outside cmd.
While at it remove the duplicate static version of load_elf_image_phdr
under arch/arm/mach-imx/imx_bootaux.c.
Signed-off-by: Keerthy <j-keerthy@ti.com>
Suggested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 15259d0473c..32bf3f36931 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -122,6 +122,7 @@ obj-y += vsprintf.o strto.o endif obj-y += date.o +obj-$(CONFIG_LIB_ELF) += elf.o # # Build a fast OID lookup registry from include/linux/oid_registry.h |