From 03472996705c146a1276502e10dfa3368f6fe008 Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Sun, 4 Feb 2024 16:10:11 +0900 Subject: [PATCH] sharp: fix x1 build and logo 1. don't compile the i.MX28-only part for other SoCs. 2. append cpu_clkdiv.o rather than assigning --- board/sharp/common/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/board/sharp/common/Makefile b/board/sharp/common/Makefile index c0ffa51bcf..5a5bcbb31e 100644 --- a/board/sharp/common/Makefile +++ b/board/sharp/common/Makefile @@ -4,4 +4,6 @@ obj-$(CONFIG_VIDEO_MXS) += dma.o else obj- = __dummy__.o endif -obj-y := cpu_clkdiv.o \ No newline at end of file +ifdef CONFIG_ARCH_MX28 +obj-$(CONFIG_ARCH_MX28) += cpu_clkdiv.o +endif