summaryrefslogtreecommitdiff
path: root/lib/dhry/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-23 15:38:23 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:19 -0600
commitd1389403ccb93df569e1559ef37edc53e8dbd589 (patch)
tree70ca67d47a4b45747465aeb230cc04d63af9386b /lib/dhry/Makefile
parentb217c89e8565ade3aaa9f74c33c93236bf151187 (diff)
Add a dhrystone benchmark command
Drystone provides a convenient sanity check that the CPU is running at full speed. Add this as a command which can be enabled as needed. Note: I investigated using Coremark for this but there was a license agreement and I could not work out if it was GPL-compatible. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/dhry/Makefile')
-rw-r--r--lib/dhry/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/dhry/Makefile b/lib/dhry/Makefile
new file mode 100644
index 0000000000..926c0d6192
--- /dev/null
+++ b/lib/dhry/Makefile
@@ -0,0 +1,7 @@
+#
+# Copyright (c) 2015 Google, Inc
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+obj-y += cmd_dhry.o dhry_1.o dhry_2.o