summaryrefslogtreecommitdiffstats
path: root/kernel/arch/um/Makefile-skas
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/um/Makefile-skas')
-rw-r--r--kernel/arch/um/Makefile-skas12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/arch/um/Makefile-skas b/kernel/arch/um/Makefile-skas
new file mode 100644
index 000000000..ac35de531
--- /dev/null
+++ b/kernel/arch/um/Makefile-skas
@@ -0,0 +1,12 @@
+#
+# Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
+# Licensed under the GPL
+#
+
+GPROF_OPT += -pg
+GCOV_OPT += -fprofile-arcs -ftest-coverage
+
+CFLAGS-$(CONFIG_GCOV) += $(GCOV_OPT)
+CFLAGS-$(CONFIG_GPROF) += $(GPROF_OPT)
+LINK-$(CONFIG_GCOV) += $(GCOV_OPT)
+LINK-$(CONFIG_GPROF) += $(GPROF_OPT)