libevdev: disable runtime tests
authorPeter Seiderer <ps.report@gmx.net>
Sun, 11 Oct 2015 21:56:33 +0000 (23:56 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 12 Oct 2015 19:18:59 +0000 (21:18 +0200)
commit3ec38bab0f886bcba05b8b6bbdae8e0f9b549478
tree3e40e886b9a70caaef4e2d460592f6db12b90ce0
parente2c9de809627bc20599c7b26b450ba8a61352463
libevdev: disable runtime tests

Add new configure option '--disable-runtime-tests' and use it do
disable runtime tests which fail to compile on some uclibc
configurations.

Fixes [1], [2]:
  test-libevdev-init.c: In function 'test_set_clock_id':
  test-libevdev-init.c:493: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function)

and compile failure for !BR2_USE_MMU configuration:
  test-main.c:(.text+0x8): undefined reference to `_fork'

[1] http://autobuild.buildroot.net/results/0d0/0d0a987471ce8e9f76fc96e0ae8f0bfeadb45028/
[2] http://autobuild.buildroot.net/results/939/9392033f1b8d2c8e4e8791c90918dabbe28a7067/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libevdev/0001-configure-add-disable-runtime-tests-option.patch [new file with mode: 0644]
package/libevdev/libevdev.mk