From 299b35d303e44a3d6e6e2235eabc81aa653a2690 Mon Sep 17 00:00:00 2001 From: Zi Fan Date: Fri, 9 Jan 2026 11:13:53 -0800 Subject: [PATCH] Rename tools-vm to tools-mm in Makefile https://github.com/torvalds/linux/commit/799fb82aa132fa3a3886b7872997a5a84e820062 --- Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 4fdac28..dac5512 100644 --- a/Makefile +++ b/Makefile @@ -31,10 +31,10 @@ else ifeq ($(filter x86_64 arm64 i386,$(ARCH)),) endif .PHONY: default -default: linux linux_modules tools-vm +default: linux linux_modules tools-mm .PHONY: clean -clean: linux_clean tools-vm_clean +clean: linux_clean tools-mm_clean .PHONY: help help: @@ -51,7 +51,7 @@ help: @echo ' linux_modules - Build the Linux kernel modules' @echo ' linux_debpkg - Creates a Debian package for the kernel' @echo ' ack - Build the Android Common Kernel' - @echo ' tools-vm - Build linux/tools/vm' + @echo ' tools-mm - Build linux/tools/vm' @echo '' @echo ' Environment Variables:' @echo ' LINUX_DEFCONFIG - The defconfig to use when building the kernel (default: defconfig, ACK default: gki_defconfig)' @@ -62,7 +62,7 @@ help: @echo '$(GREEN)Clean:$(NC)' @echo ' Targets:' @echo ' clean - Clean output from default build targets' - @echo ' _clean - Clean output for , where is one of: ack, linux, tools-vm, rootfs' + @echo ' _clean - Clean output for , where is one of: ack, linux, tools-mm, rootfs' @echo '' @echo '$(GREEN)Run/Debug:$(NC)' @echo ' Targets:' @@ -261,13 +261,13 @@ ifeq ($(ARCH),arm64) TOOLS_MAKE += CROSS_COMPILE=$(TARGET)- endif -.PHONY: tools-vm -tools-vm: | $(SHARED_DIR) - + $(TOOLS_MAKE) vm_install +.PHONY: tools-mm +tools-mm: | $(SHARED_DIR) + + $(TOOLS_MAKE) mm_install -.PHONY: tools-vm_clean -tools-vm_clean: - + $(TOOLS_MAKE) vm_clean +.PHONY: tools-mm_clean +tools-mm_clean: + + $(TOOLS_MAKE) mm_clean rm -f $(SHARED_DIR)/tools/$(ARCH)/{page_owner_sort,page-types,slabinfo} ##