gpio fixes for v5.4-rc5

- fix building gpio selftests
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEFp3rbAvDxGAT0sefEacuoBRx13IFAl2u/AcACgkQEacuoBRx
 13Lv4g/+MZ4XnTsIIAz4JsObi9NzQgP9z1+BW2h4rbi5UhjHhxGifwINQevyFEPL
 i5IEG2i8SjjBAYWeygxgb8s9EIchbjrp99wfvT/5jAOK+fUTIJfUCWE49XGNE4xJ
 ML0Vz1ysWdCJaopunOlxZqx2uvADod06/Pgl1tIuWY0IynhM4JoSD28WAB61tu4V
 AnO7BhDuWkhBb5DD6+TK+YzFjYagex2ECqGg1XfYyywx2lv51j8tlkVkTsCxp0q5
 PVlQarTQmi4b8K+UuNadUAc72FSXCZRVv3FKL/wAKcQvXz+nhDoigu+svEsgADFv
 GNtTdARo3rGM434gHsit2+FwNh7ApGRWwSqUDjIrwa9uWptGUFIoLRJOZnoLKBpn
 8hxYEKGlK91hNPjfX6/G19kdQNn41/Oaq6I0LH5+oKFv1xMgcakZdcYW7Az//9+4
 TrogV2Rq/wMDP6MWlC5jw1Ya1qYA7iTcFyuCMIGXkUCOvGdHZjFPhG0xsuPD2/kG
 /xrsot/85OcB+ZyELUrYO1MayZ4BHTC6SDtI4ncl+MfREFnP7YBTffQMVkCCRrxJ
 I3ajDmire7u9w76y+PKH7PHhIarHTEaGi5EAjgSVp8gn3of7ysgFm75v6QZodR/F
 cfVJrJ+Z1Hcr/dwT7V+fweOo0XnioBL2w3IwS4VoRnN2Bq7lyo0=
 =FEFI
 -----END PGP SIGNATURE-----

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
This commit is contained in:
Linus Walleij 2019-10-23 13:29:57 +02:00
commit 459f7cb9a3

View File

@ -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