summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-07-06 15:06:06 +0000
committerThomas Martitz <kugel@rockbox.org>2010-07-06 15:06:06 +0000
commit1c3ae928150df9b983c1d1456b53139d3ee986fe (patch)
tree4f60fef198f6456992db5ede1335d7c67684f564 /tools/configure
parent3cdee0f09b677369a745bdb8098367b0946e29a1 (diff)
downloadrockbox-1c3ae928150df9b983c1d1456b53139d3ee986fe.tar.gz
rockbox-1c3ae928150df9b983c1d1456b53139d3ee986fe.zip
Add --prefix option to configure, and add it to make reconf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27308 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index 85736d5735..79032c006e 100755
--- a/tools/configure
+++ b/tools/configure
@@ -822,6 +822,7 @@ help() {
822 --thumb Build with -mthumb (for ARM builds) 822 --thumb Build with -mthumb (for ARM builds)
823 --no-thumb The opposite of --thumb (don't use thumb even for targets 823 --no-thumb The opposite of --thumb (don't use thumb even for targets
824 where this is the default 824 where this is the default
825 --prefix Target installation directory
825 --help Shows this message (must not be used with other options) 826 --help Shows this message (must not be used with other options)
826 827
827EOF 828EOF
@@ -859,6 +860,7 @@ for arg in "$@"; do
859 --no-eabi) ARG_ARM_EABI=0;; 860 --no-eabi) ARG_ARM_EABI=0;;
860 --thumb) ARG_ARM_THUMB=1;; 861 --thumb) ARG_ARM_THUMB=1;;
861 --no-thumb) ARG_ARM_THUMB=0;; 862 --no-thumb) ARG_ARM_THUMB=0;;
863 --prefix=*) PREFIX=`echo "$arg" | cut -d = -f 2`;;
862 --help) help;; 864 --help) help;;
863 *) err=1; echo "[ERROR] Option '$arg' unsupported";; 865 *) err=1; echo "[ERROR] Option '$arg' unsupported";;
864 esac 866 esac
@@ -3065,7 +3067,7 @@ if [ "$ARG_ARM_EABI" = "1" ]; then
3065 cmdline="$cmdline--eabi " 3067 cmdline="$cmdline--eabi "
3066fi 3068fi
3067 3069
3068cmdline="$cmdline--target=\$(MODELNAME) --ram=\$(MEMORYSIZE) --rbdir=\$(RBDIR) --type=$btype$advopts" 3070cmdline="$cmdline--target=\$(MODELNAME) --ram=\$(MEMORYSIZE) --rbdir=\$(RBDIR) --type=$btype$advopts --prefix=\$(PREFIX)"
3069### end of cmdline 3071### end of cmdline
3070 3072
3071sed > Makefile \ 3073sed > Makefile \