From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: [patch 15/15] tools/vm: fix cross-compile build Date: Mon, 20 Apr 2020 18:14:23 -0700 Message-ID: <20200421011423.Y6ao1IZ3G%akpm@linux-foundation.org> References: <20200420181310.c18b3c0aa4dc5b3e5ec1be10@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.29.99]:35962 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726109AbgDUBOZ (ORCPT ); Mon, 20 Apr 2020 21:14:25 -0400 In-Reply-To: <20200420181310.c18b3c0aa4dc5b3e5ec1be10@linux-foundation.org> Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: akpm@linux-foundation.org, l.stach@pengutronix.de, linux-mm@kvack.org, martin@martingkelly.com, mm-commits@vger.kernel.org, stable@vger.kernel.org, torvalds@linux-foundation.org From: Lucas Stach Subject: tools/vm: fix cross-compile build 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. Link: http://lkml.kernel.org/r/20200416104748.25243-1-l.stach@pengutronix.de Fixes: 7ed1c1901fe5 (tools: fix cross-compile var clobbering) Signed-off-by: Lucas Stach Cc: Martin Kelly Cc: Signed-off-by: Andrew Morton --- tools/vm/Makefile | 2 ++ 1 file changed, 2 insertions(+) --- a/tools/vm/Makefile~tools-vm-fix-cross-compile-build +++ a/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 _