summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/resctrl/Makefile
diff options
context:
space:
mode:
authorSai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>2020-01-17 00:32:35 +0300
committerShuah Khan <skhan@linuxfoundation.org>2020-02-11 04:37:45 +0300
commit591a6e8588fc1dbdc04355e8ad7b0be43d221c9c (patch)
treebf25a3758c80b35ab2f947fadba5aca4f43f2c95 /tools/testing/selftests/resctrl/Makefile
parent034c7678dd2c05fb08e6fa3b0ac527ead8f1b11b (diff)
downloadlinux-591a6e8588fc1dbdc04355e8ad7b0be43d221c9c.tar.xz
selftests/resctrl: Add basic resctrl file system operations and data
The basic resctrl file system operations and data are added for future usage by resctrl selftest tool. Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com> Co-developed-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Babu Moger <babu.moger@amd.com> Co-developed-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/resctrl/Makefile')
-rw-r--r--tools/testing/selftests/resctrl/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/selftests/resctrl/Makefile b/tools/testing/selftests/resctrl/Makefile
new file mode 100644
index 000000000000..76bbd6d3e4a8
--- /dev/null
+++ b/tools/testing/selftests/resctrl/Makefile
@@ -0,0 +1,12 @@
+CC = $(CROSS_COMPILE)gcc
+CFLAGS = -g -Wall
+SRCS=$(wildcard *.c)
+OBJS=$(SRCS:.c=.o)
+
+$(OBJS): $(SRCS)
+ $(CC) $(CFLAGS) -c $(SRCS)
+
+.PHONY: clean
+
+clean:
+ $(RM) $(OBJS)