summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Baker <tyler.baker@linaro.org>2015-04-02 01:20:18 +0200
committerShuah Khan <shuahkh@osg.samsung.com>2015-04-02 20:41:03 +0200
commitab923bb9e2aedc9333aa0153a610a9de8993345e (patch)
tree2030b287c485f6927fc65c9398d833c1e0d8e7c5
parentselftest/mount: enable cross compilation (diff)
downloadlinux-ab923bb9e2aedc9333aa0153a610a9de8993345e.tar.xz
linux-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>
-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