From: Anand Moon Date: Wed, 26 Jun 2024 15:15:22 +0000 (+0530) Subject: odroid: Fix target platform compilation issue on Odroid-XU3 X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=eebfbe1be72941b67e36d8a870cf636ecfbacb37;p=u-boot.git odroid: Fix target platform compilation issue on Odroid-XU3 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 Reviewed-by: Sam Protsenko Signed-off-by: Minkyu Kang --- 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 -obj-y := odroid.o +obj-$(CONFIG_TARGET_ODROID) := odroid.o