mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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: 591a6e8588 ("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]>
11 lines
202 B
Makefile
11 lines
202 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
CFLAGS = -g -Wall -O2 -D_FORTIFY_SOURCE=2
|
|
CFLAGS += $(KHDR_INCLUDES)
|
|
|
|
TEST_GEN_PROGS := resctrl_tests
|
|
|
|
include ../lib.mk
|
|
|
|
$(OUTPUT)/resctrl_tests: $(wildcard *.[ch])
|