summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/size/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/size/Makefile')
-rw-r--r--tools/testing/selftests/size/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/testing/selftests/size/Makefile b/tools/testing/selftests/size/Makefile
new file mode 100644
index 000000000..b87facc00
--- /dev/null
+++ b/tools/testing/selftests/size/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-only
+CFLAGS := -static -ffreestanding -nostartfiles -s
+
+TEST_GEN_PROGS := get_size
+
+include ../lib.mk