Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1298478imu; Wed, 16 Jan 2019 16:40:59 -0800 (PST) X-Google-Smtp-Source: ALg8bN6/bY42nXJ3VwDsVwYFX4PpwIl+cUkYDkC7rYoh7dDqnCcNPpOj2GRmUPx0i6s2KApoNvuS X-Received: by 2002:a63:d547:: with SMTP id v7mr11309274pgi.339.1547685659504; Wed, 16 Jan 2019 16:40:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547685659; cv=none; d=google.com; s=arc-20160816; b=S1teb4iGyiK4RgH8NW2bXVaEnNTbAC4kPXzwCLScZrguIUjAgzjSrx0coadnG9Xz0O lcXt4oIPZ/qk0x47ksPUPDMdHSatrFoy/YdqABuHrTC9L8N1TlPycu1ce8KR8vHMhs63 XGVZu/JluyWQaJHS+H8HY4YpshewDvnKcbxiSMyhj0V5+4o9L+WnoMO++3X0X7ks2S5A w2bk8xRy+VBjlrafgGZKa8ISsEm8Wg6gBw4IPJqZBCqrUquerQ5KNJV2ye+s/NcQbIbD eQNnHfp+s9sqhRR/5ePn3eD6Jvt20EztfvxdNeVdFMxqLLMp28s7EwQreWRJXIGIEJke /MTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=3wDo+Xy3NqQV3pusk8GSqxsgG9EwxM82tUuFK2OMEAA=; b=nvveKkVQDu0AMQuG2acyA57/qg0U0jwZsoEyqW6fPBxowW7kwBA8MpB2HPavreaMiQ 43ZcUYO8F1JZc+FIKugsqVuTyqcd07GYZwkze5caUNY4KbqLwSbmxxfq6+/3JZAsb1TK kKeT7MR8h0963GJj95BKgcw+H41cxPauaDjpYYHr1zFb20dQKVrAgRmopLvCuNBy0xJ0 Dp1bp+Hwva69AYyyWnGJGUfw+SKN61QD7ApDSiIKD/cQ8lmEqsmAltr/Ff/Fa/fKhT30 rEsKzzfwcsM/DpV16Kf7rI7s/0O6VL8ocE0A7J2926+LX4O1wWCi+/GRLK0OAKwpXBoA 1wdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U6+Dy+2M; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si7562700pgm.559.2019.01.16.16.40.41; Wed, 16 Jan 2019 16:40:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U6+Dy+2M; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731937AbfAPV5o (ORCPT + 99 others); Wed, 16 Jan 2019 16:57:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:43370 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731954AbfAPV4o (ORCPT ); Wed, 16 Jan 2019 16:56:44 -0500 Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AE28220652; Wed, 16 Jan 2019 21:56:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547675804; bh=i/FycA8xWOiPHYHlqzq4muWW9YdDs2Ca2zk5WlY9Nsg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=U6+Dy+2MVXa1RCepAFeAYYDMF5GgNnVDq2d71VKMkypas3DljJ8/D+WsTGuZ5T1sJ Sw6J9AIqsAzfqIHUVK0q0YNOfL39fcQOJV5thG7CgDLhZ1fHMuPNNfap6Ig8bYmlfc 8RL8ZXvH+03JMqvLbWDg+EAufAGvoKsLTwGgNCi4= Subject: Re: [PATCH 1/4] selftests: lib: allow to override CC in the top-level Makefile To: =?UTF-8?Q?Daniel_D=c3=adaz?= Cc: Fathi Boudra , Denys Dmytriyenko , "open list:KERNEL SELFTEST FRAMEWORK" , open list , shuah References: <20190116174320.14938-1-daniel.diaz@linaro.org> From: shuah Message-ID: <7d75f420-d624-d53d-4fa1-3827c90fa608@kernel.org> Date: Wed, 16 Jan 2019 14:56:42 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190116174320.14938-1-daniel.diaz@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/16/19 10:43 AM, Daniel Díaz wrote: > From: Fathi Boudra > > Relax CC assignment to allow to override CC in the top-level Makefile. > > Signed-off-by: Denys Dmytriyenko > --- > tools/testing/selftests/lib.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk > index 8b0f16409ed7..0f9c47eaaa6f 100644 > --- a/tools/testing/selftests/lib.mk > +++ b/tools/testing/selftests/lib.mk > @@ -1,6 +1,6 @@ > # This mimics the top-level Makefile. We do it explicitly here so that this > # Makefile can operate with or without the kbuild infrastructure. > -CC := $(CROSS_COMPILE)gcc > +CC ?= $(CROSS_COMPILE)gcc > > ifeq (0,$(MAKELEVEL)) > OUTPUT := $(shell pwd) > What problem does this fix? thanks, -- Shuah