From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941176AbdAJOJk (ORCPT ); Tue, 10 Jan 2017 09:09:40 -0500 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:33976 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753863AbdAJOIS (ORCPT ); Tue, 10 Jan 2017 09:08:18 -0500 Subject: Re: [PATCH] tools: gpio add .gitignore for generated files To: Linus Walleij References: <20170105213236.15562-1-shuahkh@osg.samsung.com> <20170105213236.15562-5-shuahkh@osg.samsung.com> Cc: Alexandre Courbot , "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" , Shuah Khan From: Shuah Khan Message-ID: <56151fe1-67f6-37f7-08c7-db61c664adb3@osg.samsung.com> Date: Tue, 10 Jan 2017 07:07:51 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/10/2017 02:29 AM, Linus Walleij wrote: > On Thu, Jan 5, 2017 at 10:32 PM, Shuah Khan wrote: > >> Add .gitignore for generated files. >> >> Signed-off-by: Shuah Khan >> --- >> tools/gpio/.gitignore | 4 ++++ >> 1 file changed, 4 insertions(+) >> create mode 100644 tools/gpio/.gitignore >> >> diff --git a/tools/gpio/.gitignore b/tools/gpio/.gitignore >> new file mode 100644 >> index 0000000..767ad24 >> --- /dev/null >> +++ b/tools/gpio/.gitignore >> @@ -0,0 +1,4 @@ >> +gpio-event-mon >> +gpio-hammer >> +lsgpio >> +include > > I understand the first three. > > But "include"? > How did you produce that? > > Yours, > Linus Walleij > I saw this after building selftests. gpio selftests Makefile installs headres. "make kselftest" should reproduce the problem. This following does an header install from tools/testing/selftests/gpio/Makefile ../../../../usr/include/linux/gpio.h: make -C ../../../.. headers_install INSTALL_HDR_PATH=$(shell pwd)/../../../../usr/ thanks, -- Shuah