]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
odroid: Fix target platform compilation issue on Odroid-XU3
authorAnand Moon <linux.amoon@gmail.com>
Wed, 26 Jun 2024 15:15:22 +0000 (20:45 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 15 Jul 2024 10:25:55 +0000 (19:25 +0900)
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@gmail.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/odroid/Makefile

index 5bf48313de3b1675fc6d0892bfb60055d1ef7480..615c99f501908883b6787784f5115eb13d5034e7 100644 (file)
@@ -3,4 +3,4 @@
 # Copyright (c) 2014 Samsung Electronics Co., Ltd. All rights reserved.
 # Przemyslaw Marczak <p.marczak@samsung.com>
 
-obj-y  := odroid.o
+obj-$(CONFIG_TARGET_ODROID)    := odroid.o