Skip to content

Commit

Permalink
Merge tag 'gpio-v5.4-rc5-fixes-for-linus' of git://git.kernel.org/pub…
Browse files Browse the repository at this point in the history
…/scm/linux/kernel/git/brgl/linux into fixes

gpio fixes for v5.4-rc5

- fix building gpio selftests
  • Loading branch information
linusw committed Oct 23, 2019
2 parents 7d194c2 + 4a6a6f5 commit 459f7cb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/gpio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 459f7cb

Please sign in to comment.