We'll link barebox proper as an ELF image into the PBL later, so compile
ELF support for PBL as well.

Reviewed-by: Ahmad Fatoum <[email protected]>
Signed-off-by: Sascha Hauer <[email protected]>
---
 common/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/Makefile b/common/Makefile
index 751f3ba202..c937987cf9 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -14,7 +14,7 @@ obj-y                         += misc.o
 obj-pbl-y                      += memsize.o
 obj-y                          += resource.o
 obj-pbl-y                      += bootsource.o
-obj-$(CONFIG_ELF)              += elf.o
+obj-pbl-$(CONFIG_ELF)          += elf.o
 obj-y                          += restart.o
 obj-y                          += poweroff.o
 obj-y                          += slice.o

-- 
2.47.3


Reply via email to