[PATCH 3/5] drivers: soc: Fix unconditional compilation of imx directory
Alexander Shiyan
eagle.alexander923 at gmail.com
Tue May 31 23:02:24 PDT 2022
As a side change, this patch sorts entries alphabetically.
Signed-off-by: Alexander Shiyan <eagle.alexander923 at gmail.com>
---
drivers/soc/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile
index e5b319e6da..a23e81ffb3 100644
--- a/drivers/soc/Makefile
+++ b/drivers/soc/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
-obj-y += imx/
+obj-$(CONFIG_ARCH_IMX) += imx/
+obj-$(CONFIG_KVX) += kvx/
obj-$(CONFIG_CPU_SIFIVE) += sifive/
obj-$(CONFIG_SOC_STARFIVE) += starfive/
-obj-$(CONFIG_KVX) += kvx/
--
2.32.0
More information about the barebox
mailing list