[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <86134f2c2e88da1caa9bb361505218458e3c63ec.1592807136.git.zong.li@sifive.com>
Date: Mon, 22 Jun 2020 14:33:50 +0800
From: Zong Li <zong.li@...ive.com>
To: paul.walmsley@...ive.com, palmer@...belt.com, mick@....forth.gr,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Zong Li <zong.li@...ive.com>
Subject: [PATCH v2 2/2] riscv: mm: refine the Makefile
Put all objects which selected by obj-y together.
Signed-off-by: Zong Li <zong.li@...ive.com>
---
arch/riscv/mm/Makefile | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/arch/riscv/mm/Makefile b/arch/riscv/mm/Makefile
index 4530ad52f1d6..7f95f66e135a 100644
--- a/arch/riscv/mm/Makefile
+++ b/arch/riscv/mm/Makefile
@@ -5,12 +5,8 @@ ifdef CONFIG_FTRACE
CFLAGS_REMOVE_init.o = -pg
endif
-obj-y += init.o
-obj-y += extable.o
+obj-y += init.o extable.o cacheflush.o context.o mmap.o
obj-$(CONFIG_MMU) += fault.o pageattr.o
-obj-y += cacheflush.o
-obj-y += context.o
-obj-y += mmap.o
ifeq ($(CONFIG_MMU),y)
obj-$(CONFIG_SMP) += tlbflush.o
--
2.27.0
Powered by blists - more mailing lists