aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-devtools/codexl/codexl/amdtPwrProf_mknod.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-devtools/codexl/codexl/amdtPwrProf_mknod.sh')
-rw-r--r--meta-amd-bsp/recipes-devtools/codexl/codexl/amdtPwrProf_mknod.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-devtools/codexl/codexl/amdtPwrProf_mknod.sh b/meta-amd-bsp/recipes-devtools/codexl/codexl/amdtPwrProf_mknod.sh
new file mode 100644
index 00000000..7fd27c6e
--- /dev/null
+++ b/meta-amd-bsp/recipes-devtools/codexl/codexl/amdtPwrProf_mknod.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+mknod /dev/amdtPwrProf -m 666 c `cat /proc/amdtPwrProf/device` 0