On Wed, Jun 26, 2024 at 10:15 AM Anand Moon <linux.am...@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.am...@gmail.com> > ---
Reviewed-by: Sam Protsenko <semen.protse...@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.marc...@samsung.com> > > -obj-y := odroid.o > +obj-$(CONFIG_TARGET_ODROID) := odroid.o > -- > 2.44.0 >