diff --git a/scripts/mkmakefile b/scripts/mkmakefile
index 4d0faebb17199720d6126cfcef73af83626235ca..1cb174751429119a211aa0150a0b64d4750adaa2 100755
--- a/scripts/mkmakefile
+++ b/scripts/mkmakefile
@@ -12,6 +12,6 @@ if [ "${quiet}" != "silent_" ]; then
 fi
 
 cat << EOF > Makefile
-# Automatically generated by $(realpath $0): don't edit
-include $(realpath $1/Makefile)
+# Automatically generated by $0: don't edit
+include $1/Makefile
 EOF