diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2018-03-08 17:37:41 +0300 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2018-03-21 19:40:04 +0300 |
commit | 55c1b5f4af398f5776add417ddf8ae9cc574f0b7 (patch) | |
tree | 6c5e9c1fbc69422ddba1820d1b4aa387fad62478 /tools/testing/selftests/seccomp | |
parent | 78972f51ccf8d0682edf99f03d1367b8c2ce7336 (diff) | |
download | linux-55c1b5f4af398f5776add417ddf8ae9cc574f0b7.tar.xz |
selftests/android/ion: Makefile: fix build error
Fails to build iomap_test.c due to missing include
gcc -I. -I../../../../../drivers/staging/android/uapi/ -Wall -O2 -g
ionmap_test.c ipcsocket.c ionutils.c -o ionmap_test
ionmap_test.c:12:27: fatal error: linux/dma-buf.h: No such file or
directory
#include <linux/dma-buf.h>
^
compilation terminated.
<builtin>: recipe for target 'ionmap_test' failed
make[2]: *** [ionmap_test] Error 1
In the current code, we add a new -I ../../../../../usr/include/ to the
INCLUDEDIR variable. Also add ionmap_test to the .gitignore file.
Fixes: ac93f7046a53 ("selftests: ion: Add simple test with the vgem driver")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/seccomp')
0 files changed, 0 insertions, 0 deletions