On 1/6/26 1:53 PM, Sascha Hauer wrote:
> 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 <[email protected]>

As we have a separate CONFIG_ARM_BOOTM_ELF, we should end up discarding
ELF support code in barebox proper when it's disabled, so:

Reviewed-by: Ahmad Fatoum <[email protected]>

> ---
>  common/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/Makefile b/common/Makefile
> index 
> 36dee5f7a98a7b2bbf67263ee5942520e6ce53e0..b1170ea4a801de2e7d0279edaddbf6f370a053c1
>  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
> 

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |


Reply via email to