From patchwork Thu Nov 9 16:30:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramsay Jones X-Patchwork-Id: 10051271 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 80C6360381 for ; Thu, 9 Nov 2017 16:30:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 72FA92AFE8 for ; Thu, 9 Nov 2017 16:30:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67B2A2AFE9; Thu, 9 Nov 2017 16:30:52 +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=-6.9 required=2.0 tests=BAYES_00,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 DDF852AFF0 for ; Thu, 9 Nov 2017 16:30:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751125AbdKIQav (ORCPT ); Thu, 9 Nov 2017 11:30:51 -0500 Received: from avasout04.plus.net ([212.159.14.19]:48355 "EHLO avasout04.plus.net.plus.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750909AbdKIQav (ORCPT ); Thu, 9 Nov 2017 11:30:51 -0500 Received: from [10.0.2.15] ([80.189.70.158]) by smtp with ESMTPA id Cpj6e7oSgzbmWCpj7e3w7h; Thu, 09 Nov 2017 16:30:49 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.2 cv=P6pKvmIu c=1 sm=1 tr=0 a=bpDj9VLvXCYHU65eeb/Fiw==:117 a=bpDj9VLvXCYHU65eeb/Fiw==:17 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=uA_83leJyGkjcflxdR4A:9 a=QEXdDO2ut3YA:10 a=yJM6EZoI5SlJf8ks9Ge_:22 X-AUTH: ramsayjones@:2500 To: Christopher Li Cc: Luc Van Oostenryck , Sparse Mailing-list From: Ramsay Jones Subject: [PATCH] Makefile: use locally built sparse in the selfcheck target Message-ID: <10d6a020-ebe8-6a31-e4cb-ff67c1a1009c@ramsayjones.plus.com> Date: Thu, 9 Nov 2017 16:30:48 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Language: en-GB X-CMAE-Envelope: MS4wfKKuMVFkiIwz6npWAY1d/MBv2amOT0ME/d9n6cQDD+NYOAtAKIW4w5+ht6cc5MlAEpQaUUE9OFpyfRYi94xYDxQP+OyeQ+8FIEVF6pzuIvswIXp3JW8x 9o+8yHTfe1b4H31X+9MeTNMu64nQCTcqrwSSq+DIN8SYqLp7etpPdE9i+3ni9he+Om6WMNcyrhn8Pg== Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Ramsay Jones Acked-by: Luc Van Oostenryck --- Hi Chris, I was recently setting up a new system and didn't have sparse installed. The 'make selfcheck' target failed ... ATB, Ramsay Jones Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d034176..d1a303e 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ LDFLAGS += -g LD = gcc AR = ar PKG_CONFIG = pkg-config -CHECKER = ./cgcc -no-compile +CHECKER = CHECK=./sparse ./cgcc -no-compile CHECKER_FLAGS = ALL_CFLAGS = $(CFLAGS) $(BASIC_CFLAGS)