[PATCH mm-unstable] samples/damon: trigger build even if only mtier is enabled

From: SeongJae Park
Date: Sat Apr 26 2025 - 14:41:08 EST


mtier can be built only if one or more of other DAMON sample modules are
build-enabled. This is because commit 66001f0476f4 ("samples/damon:
implement a DAMON module for memory tiering") on mm-unstable tree is not
connecting it on samples/Makefile. Fix it by adding the connection on
samples/Makefile.

Fixes: 66001f0476f4 ("samples/damon: implement a DAMON module for memory tiering") # mm-unstable
Signed-off-by: SeongJae Park <sj@xxxxxxxxxx>
---
samples/Makefile | 1 +
1 file changed, 1 insertion(+)

diff --git a/samples/Makefile b/samples/Makefile
index bf6e6fca5410..0545e6a0e84d 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -42,4 +42,5 @@ obj-$(CONFIG_SAMPLE_FPROBE) += fprobe/
obj-$(CONFIG_SAMPLES_RUST) += rust/
obj-$(CONFIG_SAMPLE_DAMON_WSSE) += damon/
obj-$(CONFIG_SAMPLE_DAMON_PRCL) += damon/
+obj-$(CONFIG_SAMPLE_DAMON_MTIER) += damon/
obj-$(CONFIG_SAMPLE_HUNG_TASK) += hung_task/

base-commit: 863dea93e0e1e959d3b277a98781081442f9cfbd
--
2.39.5