Skip to content

Commit

Permalink
selftests/resctrl: Add resctrl.h into build deps
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Tested-by: Babu Moger <[email protected]>
Tested-by: Shaopeng Tan (Fujitsu) <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
  • Loading branch information
ij-intel authored and shuahkh committed Jul 25, 2023
1 parent e0606da commit 8e289f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/resctrl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ TEST_GEN_PROGS := resctrl_tests

include ../lib.mk

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

0 comments on commit 8e289f4

Please sign in to comment.