aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/memfd/Makefile
diff options
context:
space:
mode:
authorTyler Baker <tyler.baker@linaro.org>2015-04-01 16:20:18 -0700
committerShuah Khan <shuahkh@osg.samsung.com>2015-04-02 12:41:03 -0600
commitab923bb9e2aedc9333aa0153a610a9de8993345e (patch)
tree2030b287c485f6927fc65c9398d833c1e0d8e7c5 /tools/testing/selftests/memfd/Makefile
parentselftest/mount: enable cross compilation (diff)
downloadlinux-dev-ab923bb9e2aedc9333aa0153a610a9de8993345e.tar.xz
linux-dev-ab923bb9e2aedc9333aa0153a610a9de8993345e.zip
selftest/memfd: include default header install path
Include the default path for INSTALL_HDR_PATH to make it less intrusive when cross building. Signed-off-by: Tyler Baker <tyler.baker@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/memfd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/memfd/Makefile b/tools/testing/selftests/memfd/Makefile
index 69f08ab51551..3e7eb7972511 100644
--- a/tools/testing/selftests/memfd/Makefile
+++ b/tools/testing/selftests/memfd/Makefile
@@ -2,6 +2,7 @@ CC = $(CROSS_COMPILE)gcc
CFLAGS += -D_FILE_OFFSET_BITS=64
CFLAGS += -I../../../../include/uapi/
CFLAGS += -I../../../../include/
+CFLAGS += -I../../../../usr/include/
all:
$(CC) $(CFLAGS) memfd_test.c -o memfd_test