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: 10766479 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5C29213BF for ; Wed, 16 Jan 2019 17:44:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47CA82BAA5 for ; Wed, 16 Jan 2019 17:44:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C56A2E930; Wed, 16 Jan 2019 17:44:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C80032BAA5 for ; Wed, 16 Jan 2019 17:44:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727460AbfAPRoL (ORCPT ); Wed, 16 Jan 2019 12:44:11 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:40355 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726798AbfAPRoL (ORCPT ); Wed, 16 Jan 2019 12:44:11 -0500 Received: by mail-ot1-f68.google.com with SMTP id s5so8480489oth.7 for ; Wed, 16 Jan 2019 09:44:11 -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=Oo8NqOcn0emnhtdUMPwBs88qZPjs5JkR7Db99npi0s9eKcIOOrVpj2Y21sUl+wN+vd 0jaFOfYRezyWN5nHarchgytLMlhCl9XkH3qnn/zTg6fWrTwxKy3iJYqeGnbTzjlbh3cg WwlHHE/oBxbKwEiM/GDyCT91+zTWzCqlh4B4bI7xtPsseGr1EKq56VM8K6Lw8+L7pnGy opPKGZ+l7hyBwIiMW+ZQ7S2ev3pwSY/KdGJo8AzoKL+fwiNLDyam4/bhTp1vwebQ0lwe d3QF0wSPabpRe8SoRjOsx/rEI70W673qwq9Qf/MXLsmw5AQWzMA/O4NK8qkScRgiSN9e K4nw== X-Gm-Message-State: AJcUukcskqwM1RQst3l4S+ezmslAa1uokPhznfvt6tKngr1N11az8AFv zu9+HTq427KtOday/OqyiQUI8A== X-Google-Smtp-Source: ALg8bN7E2a+BrEjT0XTiStofNUshGEOMJ1QwK4HVMst67gq8PT3Ao7WA8OS97kdmjlyGgEJPWiOr2Q== 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-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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)