diff mbox series

[v2,3/7] selftests: remove obsolete build restriction for gpio

Message ID 20210107025731.226017-4-warthog618@gmail.com
State Superseded
Headers show
Series selftests: gpio: rework and port to GPIO uAPI v2 | expand

Commit Message

Kent Gibson Jan. 7, 2021, 2:57 a.m. UTC
Build restrictions related to the gpio-mockup-chardev helper are
no longer relevant so remove them.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
 tools/testing/selftests/Makefile | 9 ---------
 1 file changed, 9 deletions(-)

Comments

Bartosz Golaszewski Jan. 14, 2021, 3:04 p.m. UTC | #1
On Thu, Jan 7, 2021 at 3:58 AM Kent Gibson <warthog618@gmail.com> wrote:
>

> Build restrictions related to the gpio-mockup-chardev helper are

> no longer relevant so remove them.

>

> Signed-off-by: Kent Gibson <warthog618@gmail.com>

> Acked-by: Linus Walleij <linus.walleij@linaro.org>

> ---

>  tools/testing/selftests/Makefile | 9 ---------

>  1 file changed, 9 deletions(-)

>

> diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile

> index d9c283503159..5411041e63a0 100644

> --- a/tools/testing/selftests/Makefile

> +++ b/tools/testing/selftests/Makefile

> @@ -121,15 +121,6 @@ ARCH           ?= $(SUBARCH)

>  export KSFT_KHDR_INSTALL_DONE := 1

>  export BUILD

>

> -# build and run gpio when output directory is the src dir.

> -# gpio has dependency on tools/gpio and builds tools/gpio

> -# objects in the src directory in all cases making the src

> -# repo dirty even when objects are relocated.

> -ifneq (1,$(DEFAULT_INSTALL_HDR_PATH))

> -       TMP := $(filter-out gpio, $(TARGETS))

> -       TARGETS := $(TMP)

> -endif

> -

>  # set default goal to all, so make without a target runs all, even when

>  # all isn't the first target in the file.

>  .DEFAULT_GOAL := all

> --

> 2.30.0

>


Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
diff mbox series

Patch

diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
index d9c283503159..5411041e63a0 100644
--- a/tools/testing/selftests/Makefile
+++ b/tools/testing/selftests/Makefile
@@ -121,15 +121,6 @@  ARCH           ?= $(SUBARCH)
 export KSFT_KHDR_INSTALL_DONE := 1
 export BUILD
 
-# build and run gpio when output directory is the src dir.
-# gpio has dependency on tools/gpio and builds tools/gpio
-# objects in the src directory in all cases making the src
-# repo dirty even when objects are relocated.
-ifneq (1,$(DEFAULT_INSTALL_HDR_PATH))
-	TMP := $(filter-out gpio, $(TARGETS))
-	TARGETS := $(TMP)
-endif
-
 # set default goal to all, so make without a target runs all, even when
 # all isn't the first target in the file.
 .DEFAULT_GOAL := all