[PATCH v1 2/2] odroid: Fix target platform compilation issue on Odroid-XU3

Sam Protsenko semen.protsenko at linaro.org
Wed Jun 26 17:39:57 CEST 2024


On Wed, Jun 26, 2024 at 10:15 AM Anand Moon <linux.amoon at gmail.com> wrote:
>
> Resolved a compilation issue where the build system attempted
> to compile for the Odroid-XU3 platform instead of the specified
> Exynos4412 platform due to an incorrect CONFIG_SYS_BOARD setting.
> Updated the Makefile to ensure that compilation only occurs for
> the Odroid-XU3 specified target platform.
>
> Now, object files will be generated only when building for the
> TARGET_ODROID platform.
>
> Signed-off-by: Anand Moon <linux.amoon at gmail.com>
> ---

Reviewed-by: Sam Protsenko <semen.protsenko at linaro.org>

> Tested om Odroid-U3 and Odroid-XU4.
> ---
>  board/samsung/odroid/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/samsung/odroid/Makefile b/board/samsung/odroid/Makefile
> index 5bf48313de..615c99f501 100644
> --- a/board/samsung/odroid/Makefile
> +++ b/board/samsung/odroid/Makefile
> @@ -3,4 +3,4 @@
>  # Copyright (c) 2014 Samsung Electronics Co., Ltd. All rights reserved.
>  # Przemyslaw Marczak <p.marczak at samsung.com>
>
> -obj-y  := odroid.o
> +obj-$(CONFIG_TARGET_ODROID)    := odroid.o
> --
> 2.44.0
>


More information about the U-Boot mailing list