diff options
author | Shuah Khan <skhan@linuxfoundation.org> | 2019-04-19 16:31:28 -0600 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2019-04-22 17:02:26 -0600 |
commit | d917fb876f6eaeeea8a2b620d2a266ce26372f4d (patch) | |
tree | 40a0fafecebc89a78f6f35b0271474165da77590 /arch/s390 | |
parent | a147faa96f832f76e772b1e448e94ea84c774081 (diff) | |
download | linux-d917fb876f6eaeeea8a2b620d2a266ce26372f4d.tar.gz linux-d917fb876f6eaeeea8a2b620d2a266ce26372f4d.tar.bz2 linux-d917fb876f6eaeeea8a2b620d2a266ce26372f4d.zip |
selftests: build and run gpio when output directory is the src dir
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 object
relocation is specified.
This fixes the following commands from generating gpio objects in
the source repository:
make O=dir kselftest
export KBUILD_OUTPUT=dir; make kselftest
make O=dir -C tools/testing/selftests
expoert KBUILD_OUTPUT=dir; make -C tools/testing/selftests
The following commands still build gpio objects in the source repo
(gpio Makefile needs to fixed):
make O=dir kselftest TARGETS="gpio"
export KBUILD_OUTPUT=dir; make kselftest TARGETS="gpio"
make O=dir -C tools/testing/selftests TARGETS="gpio"
expoert KBUILD_OUTPUT=dir; make -C tools/testing/selftests TARGETS="gpio"
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions