[PATCH 02/19] elf: build for PBL as well
Sascha Hauer
s.hauer at pengutronix.de
Mon Jan 5 03:26:43 PST 2026
We'll link barebox proper as an ELF image into the PBL later, so compile
ELF support for PBL as well.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
common/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/Makefile b/common/Makefile
index d501a6a2755a113fac3ac632806d4a92b741d6e2..7afdb04be3b494cc8edcebb145c642c23f54503f 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-$(CONFIG_PE) += pe.o
obj-y += restart.o
obj-y += poweroff.o
--
2.47.3
More information about the barebox
mailing list