summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/efivarfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/efivarfs/Makefile')
-rw-r--r--tools/testing/selftests/efivarfs/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/selftests/efivarfs/Makefile b/tools/testing/selftests/efivarfs/Makefile
new file mode 100644
index 00000000000..b64f61467e2
--- /dev/null
+++ b/tools/testing/selftests/efivarfs/Makefile
@@ -0,0 +1,12 @@
+CC = $(CROSS_COMPILE)gcc
+CFLAGS = -Wall
+
+test_objs = open-unlink
+
+all: $(test_objs)
+
+run_tests: all
+ @/bin/bash ./efivarfs.sh || echo "efivarfs selftests: [FAIL]"
+
+clean:
+ rm -f $(test_objs)