msrtool: Actually do PREFIX substitution in Makefile

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4963 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/util/msrtool/configure b/util/msrtool/configure
index ee2d6cc..61ef143 100755
--- a/util/msrtool/configure
+++ b/util/msrtool/configure
@@ -2,7 +2,7 @@
 #
 # This file is part of msrtool.
 #
-# Copyright (c) 2008 Peter Stuge <peter@stuge.se>
+# Copyright (c) 2008, 2009 Peter Stuge <peter@stuge.se>
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
@@ -180,7 +180,7 @@
 	-e "s#@CFLAGS@#${CFLAGS}#g" \
 	-e "s#@LDFLAGS@#${LDFLAGS}#g" \
 	-e "s#@INSTALL@#${INSTALL}#g" \
-	-e "s#@PREFIX@#/usr/local#g" \
+	-e "s#@PREFIX@#${PREFIX}#g" \
 	Makefile.in >> Makefile
 echo "  done"
 echo