From: Lucas Stach Date: Tue, 21 Apr 2020 01:14:23 +0000 (-0700) Subject: tools/vm: fix cross-compile build X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cf01699ee220c38099eb3e43ce3d10690c8b7060;p=linux.git tools/vm: fix cross-compile build Commit 7ed1c1901fe5 ("tools: fix cross-compile var clobbering") moved the setup of the CC variable to tools/scripts/Makefile.include to make the behavior consistent across all the tools Makefiles. As the vm tools missed the include we end up with the wrong CC in a cross-compiling evironment. Fixes: 7ed1c1901fe5 (tools: fix cross-compile var clobbering) Signed-off-by: Lucas Stach Signed-off-by: Andrew Morton Cc: Martin Kelly Cc: Link: http://lkml.kernel.org/r/20200416104748.25243-1-l.stach@pengutronix.de Signed-off-by: Linus Torvalds --- diff --git a/tools/vm/Makefile b/tools/vm/Makefile index 20f6cf04377f0..9860622cbb151 100644 --- a/tools/vm/Makefile +++ b/tools/vm/Makefile @@ -1,6 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 # Makefile for vm tools # +include ../scripts/Makefile.include + TARGETS=page-types slabinfo page_owner_sort LIB_DIR = ../lib/api