[PATCH v7 09/15] disk: Correct the conditions for SPL

AKASHI Takahiro takahiro.akashi at linaro.org
Thu Apr 14 10:21:52 CEST 2022


Hi Simon,

On Mon, Feb 28, 2022 at 07:16:51AM -0700, Simon Glass wrote:
> These filesystems may have different settings for SPL and TPL. Use the
> correct Makefile variable to handle this.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v7:
> - Add new patch to correct the conditions for SPL
> 
>  disk/Makefile | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/disk/Makefile b/disk/Makefile
> index 6ce5a687b3..83f5af6069 100644
> --- a/disk/Makefile
> +++ b/disk/Makefile
> @@ -6,8 +6,8 @@
>  #ccflags-y += -DET_DEBUG -DDEBUG
>  
>  obj-$(CONFIG_PARTITIONS)	+= part.o
> -obj-$(CONFIG_$(SPL_)MAC_PARTITION)   += part_mac.o
> -obj-$(CONFIG_$(SPL_)DOS_PARTITION)   += part_dos.o
> -obj-$(CONFIG_$(SPL_)ISO_PARTITION)   += part_iso.o
> -obj-$(CONFIG_$(SPL_)AMIGA_PARTITION) += part_amiga.o
> -obj-$(CONFIG_$(SPL_)EFI_PARTITION)   += part_efi.o
> +obj-$(CONFIG_$(SPL_TPL_)MAC_PARTITION)   += part_mac.o
> +obj-$(CONFIG_$(SPL_TPL_)DOS_PARTITION)   += part_dos.o
> +obj-$(CONFIG_$(SPL_TPL_)ISO_PARTITION)   += part_iso.o
> +obj-$(CONFIG_$(SPL_TPL_)AMIGA_PARTITION) += part_amiga.o
> +obj-$(CONFIG_$(SPL_TPL_)EFI_PARTITION)   += part_efi.o

While none of CONFIG_TPL_xxx_PARTITION is defined,
how do those rules work for TPL?

-Takahiro Akashi

> -- 
> 2.35.1.574.g5d30c73bfb-goog
> 


More information about the U-Boot mailing list