From patchwork Wed Jan 16 17:43:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_D=C3=ADaz?= X-Patchwork-Id: 155738 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp937118jaa; Wed, 16 Jan 2019 09:44:12 -0800 (PST) X-Google-Smtp-Source: ALg8bN4JbiUc3yW+v0Ze+9iA4MmlV5npBOmc4aRMSZXfowNdwm/69Rhzjye4ONQJq+Ljy8fvSWzS X-Received: by 2002:a63:c42:: with SMTP id 2mr9982214pgm.372.1547660652670; Wed, 16 Jan 2019 09:44:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547660652; cv=none; d=google.com; s=arc-20160816; b=jQE180TzEsulk534f3CqXwshwayJsiSuzk9h0q7ilLjbJ/3l/D9q5YNSQgi7+VJQfn k0X+K5KKrxocneXecBGgvZMCirb/xLVtaWpXhiPO1O/BtwM8PX75ai7s0L6dIHHznr2Y yDNjRz5OxYP5vMh73Spp9+gS9pMamPASLwnHnAZgRq9/PH0quOnc6IxxeMOm1LLk2LKn ZA61A8u0LYAF4Aaf1a79XDEc+FN1WDgYYc8xtvwMozMnJkD61bqB9crr+qGZTynqf9Kd drdKQ2nqQTGYrbR7ZALwhaBg3mN4SXNAl6xkKQdluCDKZYiju3bbPNfon5fsvdP9klyw +5mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=CjETfAnfRxtbE9MWGkPp2aHU9Y+vwQE7qZ1JQ/QEJmM=; b=zFHWFJO7XMhqJXHNUIF7aPxPcqQtEdXLGaAMWDSPZbNu01qIeKL80F2tWY5s7WJAxF E9w/htmIHbiyjk4uex0HJ6CqOc1NWXXAz2LXxcd6uqbNIMqK6D39F2hRlSt8NIbg1TwU KR/DbvYZFFIyBShuTN3l+POGXPj7IqvlPdhDLs0td1cE+YgWINEKEzRKvl0AS2qYzBgV aqcbP7gmb3kGCdyR4NXqTWZkS4G2bCrrVkg+IBMuIoxwP8chsH54aP9PvTOm9PJneQ0a boQMslS3w4kkfL74usuEy4x+m2ICUWvDbdP3WQiRdOuh8T5PMgBOe90CIhPOVz8GyTv3 suDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="SYJt/2jF"; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 69si6942173pla.75.2019.01.16.09.44.12; Wed, 16 Jan 2019 09:44:12 -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=@linaro.org header.s=google header.b="SYJt/2jF"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727505AbfAPRoL (ORCPT + 22 others); Wed, 16 Jan 2019 12:44:11 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:42802 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726934AbfAPRoL (ORCPT ); Wed, 16 Jan 2019 12:44:11 -0500 Received: by mail-ot1-f67.google.com with SMTP id v23so8468504otk.9 for ; Wed, 16 Jan 2019 09:44:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=CjETfAnfRxtbE9MWGkPp2aHU9Y+vwQE7qZ1JQ/QEJmM=; b=SYJt/2jFty9uyfCQ+VSpn/7urDoH9zQ8wkSsk946KPg8eE+owKpIT4Z1tFPhbM4Ok4 4Vp0rRlVH1jiKTXHbIkmRu8pBb8OKOiNXN3pgBbD7d2TtVRX/FX3/64X+Sv3ihvO524W yt/6XADt7d/tSDDPXihdxAJj9bP5hWC1ToYIo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CjETfAnfRxtbE9MWGkPp2aHU9Y+vwQE7qZ1JQ/QEJmM=; b=meDK4F46EiykoUpqx/omVRWmS0zS+W+FVRGBamhyxt/jHznLnNcV8zNURKbtiD2Hae ED1/6MhvSaGp+WlOygR3RAa66NabZD1EOxDSoYFNW1myUEzOeaEQg9mTno9v4iC7Oerj 4b64yXJGqCmDLzBusKe7Dm70EnWEtKKK5/2zsyvUh0j0A8VpbgrLNKTbL8hIALPKt2KZ ZutQx0jBMn4kByZmlg64KJaXIcS7ZnuDlc7VDIwpcPDaz56MDlLeVVdTA8we7+fIxt8L COmXVBJhDxygGEoRurQsYE+nnhXx2SccCNrD+VCOfXqC+iAM5uSMETNi+2q7tGSy4JTl RDsw== X-Gm-Message-State: AJcUukcDTehWl3+EsmCOMmgOUZGOqd12THLGq8R6lIXi9deBbOlgEPzJ choYKXypkgR/Cj8WOmavOoSUqQ== X-Received: by 2002:a9d:6191:: with SMTP id g17mr6481114otk.56.1547660650423; Wed, 16 Jan 2019 09:44:10 -0800 (PST) Received: from alago.cortijodelrio.net (CableLink-189-218-30-19.Hosts.InterCable.net. [189.218.30.19]) by smtp.googlemail.com with ESMTPSA id m129sm3152973oif.50.2019.01.16.09.44.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Jan 2019 09:44:09 -0800 (PST) From: =?utf-8?q?Daniel_D=C3=ADaz?= To: shuah@kernel.org Cc: Fathi Boudra , Denys Dmytriyenko , linux-kselftest@vger.kernel.org (open list:KERNEL SELFTEST FRAMEWORK), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 1/4] selftests: lib: allow to override CC in the top-level Makefile Date: Wed, 16 Jan 2019 11:43:17 -0600 Message-Id: <20190116174320.14938-1-daniel.diaz@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.17.1 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)