Created
October 13, 2014 05:44
-
-
Save BrunoReX/c3555b24eab2332e1a07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/scripts/cmake-toolchain-script.sh b/scripts/cmake-toolchain-script.sh | |
index c24ab34..28295bb 100755 | |
--- a/scripts/cmake-toolchain-script.sh | |
+++ b/scripts/cmake-toolchain-script.sh | |
@@ -1,7 +1,8 @@ | |
#!/bin/sh | |
# cmake-toolchain-script.sh by take_cheeze (takechi101010@gmail.com) | |
-PSP_CMAKE_PATH=$(psp-config --pspdev-path)/bin | |
-TOOLCHAIN_SCRIPT_PATH=$(psp-config --psp-prefix)/share/cmake-2.8/Modules/Platform | |
+DESTDIR=$1 | |
+PSP_CMAKE_PATH=${DESTDIR}$(psp-config --pspdev-path)/bin | |
+TOOLCHAIN_SCRIPT_PATH=${DESTDIR}$(psp-config --psp-prefix)/share/cmake-2.8/Modules/Platform | |
## copy toolchain script and psp-cmake | |
install -d $TOOLCHAIN_SCRIPT_PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment