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
This commit is contained in:
parent
3cdee0f09b
commit
1c3ae92815
1 changed files with 3 additions and 1 deletions
4
tools/configure
vendored
4
tools/configure
vendored
|
@ -822,6 +822,7 @@ help() {
|
|||
--thumb Build with -mthumb (for ARM builds)
|
||||
--no-thumb The opposite of --thumb (don't use thumb even for targets
|
||||
where this is the default
|
||||
--prefix Target installation directory
|
||||
--help Shows this message (must not be used with other options)
|
||||
|
||||
EOF
|
||||
|
@ -859,6 +860,7 @@ for arg in "$@"; do
|
|||
--no-eabi) ARG_ARM_EABI=0;;
|
||||
--thumb) ARG_ARM_THUMB=1;;
|
||||
--no-thumb) ARG_ARM_THUMB=0;;
|
||||
--prefix=*) PREFIX=`echo "$arg" | cut -d = -f 2`;;
|
||||
--help) help;;
|
||||
*) err=1; echo "[ERROR] Option '$arg' unsupported";;
|
||||
esac
|
||||
|
@ -3065,7 +3067,7 @@ if [ "$ARG_ARM_EABI" = "1" ]; then
|
|||
cmdline="$cmdline--eabi "
|
||||
fi
|
||||
|
||||
cmdline="$cmdline--target=\$(MODELNAME) --ram=\$(MEMORYSIZE) --rbdir=\$(RBDIR) --type=$btype$advopts"
|
||||
cmdline="$cmdline--target=\$(MODELNAME) --ram=\$(MEMORYSIZE) --rbdir=\$(RBDIR) --type=$btype$advopts --prefix=\$(PREFIX)"
|
||||
### end of cmdline
|
||||
|
||||
sed > Makefile \
|
||||
|
|
Loading…
Reference in a new issue