Home
last modified time | relevance | path

Searched hist:b2c93e300a11b419b4c67ce08e16fa1436d8118c (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/sync/
H A DMakefilediff b2c93e300a11b419b4c67ce08e16fa1436d8118c Tue Feb 06 23:23:39 CET 2018 Anders Roxell <anders.roxell@linaro.org> selftests: sync: missing CFLAGS while compiling

Based on patch: https://patchwork.kernel.org/patch/10042045/

arch64-linux-gnu-gcc -c sync.c -o sync/sync.o
sync.c:42:29: fatal error: linux/sync_file.h: No such file or directory
#include <linux/sync_file.h>
^
CFLAGS is not used during the compile step, so the system instead of
kernel headers are used. Fix this by adding CFLAGS to the OBJS compile
rule.

Reported-by: Lei Yang <Lei.Yang@windriver.com>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>