Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 459f7cb9 authored by Linus Walleij's avatar Linus Walleij
Browse files

Merge tag 'gpio-v5.4-rc5-fixes-for-linus' of...

Merge tag 'gpio-v5.4-rc5-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into fixes

gpio fixes for v5.4-rc5

- fix building gpio selftests
parents 7d194c21 4a6a6f5c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -3,7 +3,11 @@ include ../scripts/Makefile.include

bindir ?= /usr/bin

ifeq ($(srctree),)
# This will work when gpio is built in tools env. where srctree
# isn't set and when invoked from selftests build, where srctree
# is set to ".". building_out_of_srctree is undefined for in srctree
# builds
ifndef building_out_of_srctree
srctree := $(patsubst %/,%,$(dir $(CURDIR)))
srctree := $(patsubst %/,%,$(dir $(srctree)))
endif