linux-sg2042/tools/testing/selftests/sync
Anders Roxell b2c93e300a 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>
2018-02-13 11:34:51 -07:00
..
.gitignore selftest: sync: basic tests for sw_sync framework 2016-12-01 18:12:50 -07:00
Makefile selftests: sync: missing CFLAGS while compiling 2018-02-13 11:34:51 -07:00
sw_sync.h selftest: sync: basic tests for sw_sync framework 2016-12-01 18:12:50 -07:00
sync.c selftest: sync: basic tests for sw_sync framework 2016-12-01 18:12:50 -07:00
sync.h selftest: sync: basic tests for sw_sync framework 2016-12-01 18:12:50 -07:00
sync_alloc.c selftest: sync: basic tests for sw_sync framework 2016-12-01 18:12:50 -07:00
sync_fence.c selftest: sync: fence tests for sw_sync framework 2016-12-01 18:12:59 -07:00
sync_merge.c selftest: sync: merge tests for sw_sync framework 2016-12-01 18:13:06 -07:00
sync_stress_consumer.c selftest: sync: stress consumer/producer test 2016-12-01 18:13:25 -07:00
sync_stress_merge.c selftest: sync: stress test for merges 2016-12-01 18:13:32 -07:00
sync_stress_parallelism.c selftest: sync: stress test for parallelism 2016-12-01 18:13:19 -07:00
sync_test.c selftests: sync: convert to use TAP13 ksft framework 2017-07-28 13:20:29 -06:00
sync_wait.c selftest: sync: wait tests for sw_sync framework 2016-12-01 18:13:12 -07:00
synctest.h selftests: sync: convert to use TAP13 ksft framework 2017-07-28 13:20:29 -06:00