summaryrefslogtreecommitdiff
path: root/tools/testing/memblock/Makefile
diff options
context:
space:
mode:
authorLeon Romanovsky <leon@kernel.org>2023-01-15 12:22:36 +0200
committerLeon Romanovsky <leon@kernel.org>2023-01-15 12:22:36 +0200
commit1ca49d26afc2609542be4a57e336191b525ca698 (patch)
tree36624298c11de91a7a25f0c92d07faeff0d96292 /tools/testing/memblock/Makefile
parentccdbefcf661e537a3126719f4f11484cd85404d7 (diff)
parent9b2e3723728efe03433be5c13b31da451d88ee3d (diff)
Merge branch 'mlx5-next' into HEAD
Bring HW bits for mlx5 QP events series. Link: https://lore.kernel.org/all/cover.1672821186.git.leonro@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/testing/memblock/Makefile')
-rw-r--r--tools/testing/memblock/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/memblock/Makefile b/tools/testing/memblock/Makefile
index 2310ac4d080e..7a1ca694a982 100644
--- a/tools/testing/memblock/Makefile
+++ b/tools/testing/memblock/Makefile
@@ -29,13 +29,14 @@ include: ../../../include/linux/memblock.h ../../include/linux/*.h \
@mkdir -p linux
test -L linux/memblock.h || ln -s ../../../../include/linux/memblock.h linux/memblock.h
+ test -L asm/asm.h || ln -s ../../../arch/x86/include/asm/asm.h asm/asm.h
test -L asm/cmpxchg.h || ln -s ../../../arch/x86/include/asm/cmpxchg.h asm/cmpxchg.h
memblock.c: $(EXTR_SRC)
test -L memblock.c || ln -s $(EXTR_SRC) memblock.c
clean:
- $(RM) $(TARGETS) $(OFILES) linux/memblock.h memblock.c asm/cmpxchg.h
+ $(RM) $(TARGETS) $(OFILES) linux/memblock.h memblock.c asm/asm.h asm/cmpxchg.h
help:
@echo 'Memblock simulator'