[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yxnjm7sA2Uit0X1M@leoy-huanghe.lan>
Date: Thu, 8 Sep 2022 20:44:11 +0800
From: Leo Yan <leo.yan@...aro.org>
To: carsten.haitzler@...s.arm.com
Cc: linux-kernel@...r.kernel.org, coresight@...ts.linaro.org,
suzuki.poulose@....com, mathieu.poirier@...aro.org,
mike.leach@...aro.org, linux-perf-users@...r.kernel.org,
acme@...nel.org
Subject: Re: [PATCH v8 02/13] perf test: Add build infra for perf test tools
for CoreSight tests
Hi Carsten,
On Tue, Sep 06, 2022 at 11:30:33AM +0100, carsten.haitzler@...s.arm.com wrote:
[...]
> --- /dev/null
> +++ b/tools/perf/tests/shell/coresight/Makefile
> @@ -0,0 +1,26 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +# Carsten Haitzler <carsten.haitzler@....com>, 2021
> +include ../../../../../tools/scripts/Makefile.include
> +include ../../../../../tools/scripts/Makefile.arch
> +include ../../../../../tools/scripts/utilities.mak
> +
> +SUBDIRS =
> +
> +all: $(SUBDIRS)
> +$(SUBDIRS):
> + $(Q)$(MAKE) -C $@
> +
> +INSTALLDIRS = $(SUBDIRS:%=install-%)
> +
> +install-tests: $(INSTALLDIRS)
> +$(INSTALLDIRS):
> + $(Q)$(MAKE) -C $(@:install-%=%) install-tests
> +
> +CLEANDIRS = $(SUBDIRS:%=clean-%)
> +
> +clean: $(CLEANDIRS)
> +$(CLEANDIRS):
> + $(Q)$(MAKE) -C $(@:clean-%=%) clean >/dev/null
> +
> +.PHONY: all clean $(SUBDIRS) $(CLEANDIRS) $(INSTALLDIRS)
> +
I observed that git reports warning when applied this patch:
Applying: perf test: Add build infra for perf test tools for CoreSight tests
.git/rebase-apply/patch:107: new blank line at EOF.
+
The last blank line is redundant, it's good to drop it. When you fix the
warning for rst doc file, you could fix this together.
P.s. at my side, git can automatically fix the redundant blink line
since I added "whitespace = fix" in my gitconfig.
Thanks,
Leo
Powered by blists - more mailing lists