Skip to content

Commit

Permalink
selftests/resctrl: Add resctrl.h into build deps
Browse files Browse the repository at this point in the history
[ Upstream commit 8e289f4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
ij-intel authored and gregkh committed Sep 13, 2023
1 parent 5d343b4 commit 1051a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/resctrl/Makefile
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 1051a1c

Please sign in to comment.