Re: [PATCH] selftests: gpio: fix Makefile

2017-03-27 Thread Fathi Boudra
On 28 March 2017 at 06:00, Michael Ellerman wrote: > Fathi Boudra writes: >> diff --git a/tools/testing/selftests/gpio/Makefile >> b/tools/testing/selftests/gpio/Makefile >> index 205e4d10e085..714f1f7df04d 100644 >> --- a/tools/testing/selftests/gpio/Makefile >> +++ b/tools/testing/selftests/gp

Re: [PATCH] selftests: gpio: fix Makefile

2017-03-27 Thread Michael Ellerman
Fathi Boudra writes: > diff --git a/tools/testing/selftests/gpio/Makefile > b/tools/testing/selftests/gpio/Makefile > index 205e4d10e085..714f1f7df04d 100644 > --- a/tools/testing/selftests/gpio/Makefile > +++ b/tools/testing/selftests/gpio/Makefile > @@ -1,23 +1,24 @@ > +CFLAGS += -O2 -g -std=gn

[PATCH] selftests: gpio: fix Makefile

2017-03-24 Thread Fathi Boudra
* Fix hardcoded and misplaced libmount headers. Use pkg-config instead to figure out CFLAGS/LDLIBS, fixing also their value for cross-compilation. * Fix the clean target to clean up also gpio-utils. * Fix gpio-mockup-chardev installation by using TEST_PROGS_EXTENDED instead of BINARIES which