Messages in this thread Patch in this message | | | From | Zong Li <> | Subject | [PATCH v2 2/2] riscv: mm: refine the Makefile | Date | Mon, 22 Jun 2020 14:33:50 +0800 |
| |
Put all objects which selected by obj-y together.
Signed-off-by: Zong Li <zong.li@sifive.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
| |