Received: by 10.213.65.68 with SMTP id h4csp1188955imn; Mon, 26 Mar 2018 02:36:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELu3DNYzKEKMjuPR5/kzVNdfRaQzuNAlkFFiZVN3SndxwWfbdY9uO4xPM/IKOyGsY60yEOPn X-Received: by 10.167.131.199 with SMTP id j7mr32056506pfn.99.1522056976415; Mon, 26 Mar 2018 02:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522056976; cv=none; d=google.com; s=arc-20160816; b=Ih6aKFUlejOhLSVPrzK7JoKrrBKuonniDPrtP2N/BQDQxC21fd2m+OD/zgVfPrSRtQ NN62+YkUZDBEwgyId+zFeLIte0IrsvIVsbnTLiWRXfvWrLap7Yus7ogGXu+3StNFU9jW 2dExpTk45XWJ1xSi5EzOFEVZy1S6GOjtD5UxJOssJjo27usfo1eOBqFGNW2L1IEkIhTT /eTgI6rQfGci3lGbXX+axqnF/gYBUxB/EbJJpvoN9S4M5PxUgvWGIB3w87yEyUaxkllv xjuxanZYa8BRk1o1gjTLBkrGoALriw3FG1v/9yaq+WdXwXRadzraYGD2logkboWidrjZ lrtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=ukpbrbDYP0qkKAGNsH6yBsXLOuqk9gvsnFu8SnRHoHI=; b=H3aNcH0GAKR/Z0hQxndTJXwmVAAfBSCRBhSeZuQwl+AOVJz6NBNk9fscJMcTgWhoF+ 7tz8670LvA0rawJ3B55H7smJ6yI8RVZyChd1SdosaEux6Ndf9fshuY2I9nlz+B7cQRyQ h8NhyRICagWWKCUxDZ6VEXRp1I1/ufUJhC2L/T53eShjCaeE3WVTSXA8zexjcmPDd34o D5Xwdz3A/seJM0WexfmGG4qJO54/Cm6diCMPvkWt87jDMAV96DttzRngmf10NgSblJzx gtztnG8RBeT3kWuf8SDjFMpXSSl9c5b4alr/LfezQ2OfILYrKm+M1WRXGOUhNOBnK6Jf 8efg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7-v6si14201139plr.293.2018.03.26.02.36.02; Mon, 26 Mar 2018 02:36:16 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751912AbeCZJdT (ORCPT + 99 others); Mon, 26 Mar 2018 05:33:19 -0400 Received: from mga17.intel.com ([192.55.52.151]:43806 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751380AbeCZJdO (ORCPT ); Mon, 26 Mar 2018 05:33:14 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Mar 2018 02:33:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,364,1517904000"; d="scan'208";a="36851574" Received: from gvt-dell.bj.intel.com (HELO gvt-dell-host.bj.intel.com) ([10.238.154.59]) by FMSMGA003.fm.intel.com with ESMTP; 26 Mar 2018 02:33:13 -0700 From: changbin.du@intel.com To: shuah@kernel.org Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Changbin Du Subject: [PATCH 2/4] selftests/gpio: fix paths in Makefile Date: Mon, 26 Mar 2018 17:23:26 +0800 Message-Id: <1522056208-4004-3-git-send-email-changbin.du@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522056208-4004-1-git-send-email-changbin.du@intel.com> References: <1522056208-4004-1-git-send-email-changbin.du@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Changbin Du With previous improvement, the generated files from tools/gpio/ will put into tools/testing/selftests/gpio/. Let's fix the paths in Makefile and .gitignore. Signed-off-by: Changbin Du --- tools/testing/selftests/.gitignore | 4 ---- tools/testing/selftests/gpio/.gitignore | 4 ++++ tools/testing/selftests/gpio/Makefile | 14 +++++++------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tools/testing/selftests/.gitignore b/tools/testing/selftests/.gitignore index 9175035..f0600d2 100644 --- a/tools/testing/selftests/.gitignore +++ b/tools/testing/selftests/.gitignore @@ -1,5 +1 @@ kselftest -gpiogpio-event-mon -gpiogpio-hammer -gpioinclude/ -gpiolsgpio diff --git a/tools/testing/selftests/gpio/.gitignore b/tools/testing/selftests/gpio/.gitignore index 7d14f74..21e83e1 100644 --- a/tools/testing/selftests/gpio/.gitignore +++ b/tools/testing/selftests/gpio/.gitignore @@ -1 +1,5 @@ gpio-mockup-chardev +gpio-event-mon +gpio-hammer +include/ +lsgpio diff --git a/tools/testing/selftests/gpio/Makefile b/tools/testing/selftests/gpio/Makefile index 1bbb475..73f0778 100644 --- a/tools/testing/selftests/gpio/Makefile +++ b/tools/testing/selftests/gpio/Makefile @@ -3,11 +3,11 @@ TEST_PROGS := gpio-mockup.sh TEST_FILES := gpio-mockup-sysfs.sh $(BINARIES) BINARIES := gpio-mockup-chardev -EXTRA_PROGS := ../gpiogpio-event-mon ../gpiogpio-hammer ../gpiolsgpio -EXTRA_DIRS := ../gpioinclude/ -EXTRA_OBJS := ../gpiogpio-event-mon-in.o ../gpiogpio-event-mon.o -EXTRA_OBJS += ../gpiogpio-hammer-in.o ../gpiogpio-utils.o ../gpiolsgpio-in.o -EXTRA_OBJS += ../gpiolsgpio.o +EXTRA_PROGS := gpio-event-mon gpio-hammer lsgpio +EXTRA_DIRS := ./include/ +EXTRA_OBJS := gpio-event-mon-in.o gpio-event-mon.o +EXTRA_OBJS += gpio-hammer-in.o gpio-utils.o lsgpio-in.o +EXTRA_OBJS += lsgpio.o include ../lib.mk @@ -21,9 +21,9 @@ endef CFLAGS += -O2 -g -std=gnu99 -Wall -I../../../../usr/include/ LDLIBS += -lmount -I/usr/include/libmount -$(BINARIES): ../../../gpio/gpio-utils.o ../../../../usr/include/linux/gpio.h +$(BINARIES): gpio-utils.o ../../../../usr/include/linux/gpio.h -../../../gpio/gpio-utils.o: +gpio-utils.o: make ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C ../../../gpio ../../../../usr/include/linux/gpio.h: -- 2.7.4