Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <l.stach@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Martin Kelly <martin@martingkelly.com>
Cc: <stable@vger.kernel.org>
Link: http://lkml.kernel.org/r/20200416104748.25243-1-l.stach@pengutronix.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Lucas Stach and committed by
Linus Torvalds
cf01699e db973a72

+2
+2
tools/vm/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 # Makefile for vm tools 3 3 # 4 + include ../scripts/Makefile.include 5 + 4 6 TARGETS=page-types slabinfo page_owner_sort 5 7 6 8 LIB_DIR = ../lib/api