In mm/Makefile has:
obj-$(CONFIG_DAMON) += damon/
So that we don't need 'obj-$(CONFIG_DAMON) :=' in mm/damon/Makefile,
delete it from mm/demon/Makefile.
Signed-off-by: tangmeng <[email protected]>
---
mm/damon/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/damon/Makefile b/mm/damon/Makefile
index 03931472991a..aebbf6c14c51 100644
--- a/mm/damon/Makefile
+++ b/mm/damon/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_DAMON) := core.o
+obj-y := core.o
obj-$(CONFIG_DAMON_VADDR) += ops-common.o vaddr.o
obj-$(CONFIG_DAMON_PADDR) += ops-common.o paddr.o
obj-$(CONFIG_DAMON_DBGFS) += dbgfs.o
--
2.20.1
On Mon, 21 Feb 2022, tangmeng wrote:
> In mm/Makefile has:
> obj-$(CONFIG_DAMON) += damon/
>
> So that we don't need 'obj-$(CONFIG_DAMON) :=' in mm/damon/Makefile,
> delete it from mm/demon/Makefile.
>
s/demon/damon/