aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/resctrl/Makefile
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2020-04-21 09:36:03 -0700
committerTony Lindgren <tony@atomide.com>2020-04-21 09:36:03 -0700
commit175ae3ad59ab3459652bd2ae3bbc1785aeba1bf3 (patch)
treec7fd682de61e3c2a6cc3ba0e8881b99fafdf969c /tools/testing/selftests/resctrl/Makefile
parentARM: dts: OMAP3: disable RNG on N950/N9 (diff)
parentARM: dts: dra7: Fix bus_dma_limit for PCIe (diff)
downloadlinux-175ae3ad59ab3459652bd2ae3bbc1785aeba1bf3.tar.gz
linux-175ae3ad59ab3459652bd2ae3bbc1785aeba1bf3.zip
Merge branch 'fixes-v5.7' into fixes
Diffstat (limited to 'tools/testing/selftests/resctrl/Makefile')
-rw-r--r--tools/testing/selftests/resctrl/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/testing/selftests/resctrl/Makefile b/tools/testing/selftests/resctrl/Makefile
new file mode 100644
index 000000000000..d585cc1948cc
--- /dev/null
+++ b/tools/testing/selftests/resctrl/Makefile
@@ -0,0 +1,17 @@
+CC = $(CROSS_COMPILE)gcc
+CFLAGS = -g -Wall
+SRCS=$(wildcard *.c)
+OBJS=$(SRCS:.c=.o)
+
+all: resctrl_tests
+
+$(OBJS): $(SRCS)
+ $(CC) $(CFLAGS) -c $(SRCS)
+
+resctrl_tests: $(OBJS)
+ $(CC) $(CFLAGS) -o $@ $^
+
+.PHONY: clean
+
+clean:
+ $(RM) $(OBJS) resctrl_tests