Skip to content

Commit cf01699

Browse files
lynxeye-devtorvalds
authored andcommitted
tools/vm: fix cross-compile build
Commit 7ed1c19 ("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: 7ed1c19 (tools: fix cross-compile var clobbering) Signed-off-by: Lucas Stach <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Martin Kelly <[email protected]> Cc: <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
1 parent db973a7 commit cf01699

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/vm/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0
22
# Makefile for vm tools
33
#
4+
include ../scripts/Makefile.include
5+
46
TARGETS=page-types slabinfo page_owner_sort
57

68
LIB_DIR = ../lib/api

0 commit comments

Comments
 (0)