mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Merge pull request #5750 from orbea/build
qb: Honor the --build option.
This commit is contained in:
commit
3c0dc87c42
@ -230,6 +230,7 @@ create_config_make()
|
|||||||
echo "INCLUDE_DIRS = $INCLUDE_DIRS"
|
echo "INCLUDE_DIRS = $INCLUDE_DIRS"
|
||||||
echo "LIBRARY_DIRS = $LIBRARY_DIRS"
|
echo "LIBRARY_DIRS = $LIBRARY_DIRS"
|
||||||
echo "PACKAGE_NAME = $PACKAGE_NAME"
|
echo "PACKAGE_NAME = $PACKAGE_NAME"
|
||||||
|
echo "BUILD = $BUILD"
|
||||||
echo "PREFIX = $PREFIX"
|
echo "PREFIX = $PREFIX"
|
||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
|
@ -34,7 +34,8 @@ General options:
|
|||||||
EOF
|
EOF
|
||||||
print_help_option "--prefix=PATH" "Install path prefix"
|
print_help_option "--prefix=PATH" "Install path prefix"
|
||||||
print_help_option "--global-config-dir=PATH" "System wide config file prefix"
|
print_help_option "--global-config-dir=PATH" "System wide config file prefix"
|
||||||
print_help_option "--host=HOST" "call HOST-gcc instead of gcc; can be used for cross compilation"
|
print_help_option "--build=BUILD" "The build system (no-op)"
|
||||||
|
print_help_option "--host=HOST" "Cross-compile with HOST-gcc instead of gcc"
|
||||||
print_help_option "--help" "Show this help"
|
print_help_option "--help" "Show this help"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
@ -83,6 +84,7 @@ parse_input() # Parse stuff :V
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
--prefix=*) PREFIX=${1##--prefix=};;
|
--prefix=*) PREFIX=${1##--prefix=};;
|
||||||
--global-config-dir=*) GLOBAL_CONFIG_DIR=${1##--global-config-dir=};;
|
--global-config-dir=*) GLOBAL_CONFIG_DIR=${1##--global-config-dir=};;
|
||||||
|
--build=*) BUILD="${1#*=}";;
|
||||||
--host=*) CROSS_COMPILE=${1##--host=}-;;
|
--host=*) CROSS_COMPILE=${1##--host=}-;;
|
||||||
--enable-*)
|
--enable-*)
|
||||||
opt_exists "${1##--enable-}" "$1"
|
opt_exists "${1##--enable-}" "$1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user