Skip to content

Commit 8e289f4

Browse files
ij-intelshuahkh
authored andcommitted
selftests/resctrl: Add resctrl.h into build deps
Makefile only lists *.c as build dependencies for the resctrl_tests executable which excludes resctrl.h. Add *.h to wildcard() to include resctrl.h. Fixes: 591a6e8 ("selftests/resctrl: Add basic resctrl file system operations and data") Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Tested-by: Babu Moger <babu.moger@amd.com> Tested-by: Shaopeng Tan (Fujitsu) <tan.shaopeng@fujitsu.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
1 parent e0606da commit 8e289f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/resctrl/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ TEST_GEN_PROGS := resctrl_tests
77

88
include ../lib.mk
99

10-
$(OUTPUT)/resctrl_tests: $(wildcard *.c)
10+
$(OUTPUT)/resctrl_tests: $(wildcard *.[ch])

0 commit comments

Comments
 (0)