All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anand Moon <linux.amoon@gmail.com>
To: Jaehoon Chung <jh80.chung@samsung.com>,
	--Minkyu Kang <mk7.kang@samsung.com>
Cc: Anand Moon <linux.amoon@gmail.com>, u-boot@lists.denx.de
Subject: [PATCH v1 2/2] odroid: Fix target platform compilation issue on Odroid-XU3
Date: Wed, 26 Jun 2024 20:45:22 +0530	[thread overview]
Message-ID: <20240626151522.83561-2-linux.amoon@gmail.com> (raw)
In-Reply-To: <20240626151522.83561-1-linux.amoon@gmail.com>

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>
---
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@samsung.com>
 
-obj-y	:= odroid.o
+obj-$(CONFIG_TARGET_ODROID)	:= odroid.o
-- 
2.44.0


  reply	other threads:[~2024-06-26 15:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-26 15:15 [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards Anand Moon
2024-06-26 15:15 ` Anand Moon [this message]
2024-06-26 15:39   ` [PATCH v1 2/2] odroid: Fix target platform compilation issue on Odroid-XU3 Sam Protsenko
2024-07-17  2:24   ` Minkyu Kang
2024-06-26 15:37 ` [PATCH v1 1/2] dm: exynos: Correct CONFIG_SYS_BOARD setting for Odroid XU3 boards Sam Protsenko
2024-07-13  7:51   ` Anand Moon
2024-07-17  2:23     ` Minkyu Kang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240626151522.83561-2-linux.amoon@gmail.com \
    --to=linux.amoon@gmail.com \
    --cc=jh80.chung@samsung.com \
    --cc=mk7.kang@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.