Re: [PATCH v2] selftests: gpio: fix Makefile

2017-03-31 Thread Fathi Boudra
On 30 March 2017 at 16:14, Bamvor Zhang Jian wrote: > Hi, Fathi > > Thanks for your patch. > > On 28 March 2017 at 13:36, Fathi Boudra wrote: >> * Fix hardcoded and misplaced libmount headers. Use pkg-config instead to >> figure out CFLAGS/LDLIBS, fixing also their value for cross-compilation.

Re: [PATCH v2] selftests: gpio: fix Makefile

2017-03-30 Thread Bamvor Zhang Jian
Hi, Fathi Thanks for your patch. On 28 March 2017 at 13:36, Fathi Boudra wrote: > * Fix hardcoded and misplaced libmount headers. Use pkg-config instead to > figure out CFLAGS/LDLIBS, fixing also their value for cross-compilation. > Note: if pkg-config is missing (command not found), it will

[PATCH v2] selftests: gpio: fix Makefile

2017-03-27 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. Note: if pkg-config is missing (command not found), it will fail to build because headers can't be found or libmount library can't be linked. *