Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
a854e65d
Commit
a854e65d
authored
Aug 14, 2011
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some extra ppc scaffolding
parent
f22df772
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
41 deletions
+6
-41
fatbuild.sh
build-scripts/fatbuild.sh
+6
-41
No files found.
build-scripts/fatbuild.sh
View file @
a854e65d
...
@@ -80,8 +80,8 @@ cd $srcdir
...
@@ -80,8 +80,8 @@ cd $srcdir
#
#
# Figure out which phase to build:
# Figure out which phase to build:
# all,
# all,
# configure, configure-
ppc, configure-ppc64, configure-
x86, configure-x64
# configure, configure-x86, configure-x64
# make, make-
ppc, make-ppc64, make-
x86, make-x64, merge
# make, make-x86, make-x64, merge
# install
# install
# clean
# clean
if
test
x
"
$1
"
=
x
;
then
if
test
x
"
$1
"
=
x
;
then
...
@@ -91,28 +91,16 @@ else
...
@@ -91,28 +91,16 @@ else
fi
fi
case
$phase
in
case
$phase
in
all
)
all
)
configure_ppc
=
"yes"
configure_ppc64
=
"yes"
configure_x86
=
"yes"
configure_x86
=
"yes"
configure_x64
=
"yes"
configure_x64
=
"yes"
make_ppc
=
"yes"
make_ppc64
=
"yes"
make_x86
=
"yes"
make_x86
=
"yes"
make_x64
=
"yes"
make_x64
=
"yes"
merge
=
"yes"
merge
=
"yes"
;;
;;
configure
)
configure
)
configure_ppc
=
"yes"
configure_ppc64
=
"yes"
configure_x86
=
"yes"
configure_x86
=
"yes"
configure_x64
=
"yes"
configure_x64
=
"yes"
;;
;;
configure-ppc
)
configure_ppc
=
"yes"
;;
configure-ppc64
)
configure_ppc64
=
"yes"
;;
configure-x86
)
configure-x86
)
configure_x86
=
"yes"
configure_x86
=
"yes"
;;
;;
...
@@ -120,18 +108,10 @@ case $phase in
...
@@ -120,18 +108,10 @@ case $phase in
configure_x64
=
"yes"
configure_x64
=
"yes"
;;
;;
make
)
make
)
make_ppc
=
"yes"
make_ppc64
=
"yes"
make_x86
=
"yes"
make_x86
=
"yes"
make_x64
=
"yes"
make_x64
=
"yes"
merge
=
"yes"
merge
=
"yes"
;;
;;
make-ppc
)
make_ppc
=
"yes"
;;
make-ppc64
)
make_ppc64
=
"yes"
;;
make-x86
)
make-x86
)
make_x86
=
"yes"
make_x86
=
"yes"
;;
;;
...
@@ -164,17 +144,9 @@ case $phase in
...
@@ -164,17 +144,9 @@ case $phase in
install_man
=
"yes"
install_man
=
"yes"
;;
;;
clean
)
clean
)
clean_ppc
=
"yes"
clean_ppc64
=
"yes"
clean_x86
=
"yes"
clean_x86
=
"yes"
clean_x64
=
"yes"
clean_x64
=
"yes"
;;
;;
clean-ppc
)
clean_ppc
=
"yes"
;;
clean-ppc64
)
clean_ppc64
=
"yes"
;;
clean-x86
)
clean-x86
)
clean_x86
=
"yes"
clean_x86
=
"yes"
;;
;;
...
@@ -182,17 +154,11 @@ case $phase in
...
@@ -182,17 +154,11 @@ case $phase in
clean_x64
=
"yes"
clean_x64
=
"yes"
;;
;;
*
)
*
)
echo
"Usage:
$0
[all|configure[-
ppc|-ppc64|-x86|-x64]|make[-ppc|-ppc64|-x86|-x64]|merge|install|clean[-ppc|-ppc64|
-x86|-x64]]"
echo
"Usage:
$0
[all|configure[-
x86|-x64]|make[-x86|-x64]|merge|install|clean[
-x86|-x64]]"
exit
1
exit
1
;;
;;
esac
esac
case
`
uname
-p
`
in
case
`
uname
-p
`
in
powerpc
)
native_path
=
ppc
;;
powerpc64
)
native_path
=
ppc64
;;
*
86
)
*
86
)
native_path
=
x86
native_path
=
x86
;;
;;
...
@@ -208,7 +174,7 @@ esac
...
@@ -208,7 +174,7 @@ esac
#
#
# Create the build directories
# Create the build directories
#
#
for
dir
in
build build/
ppc build/ppc64 build/
x86 build/x64
;
do
for
dir
in
build build/x86 build/x64
;
do
if
test
-d
$dir
;
then
if
test
-d
$dir
;
then
:
:
else
else
...
@@ -328,7 +294,6 @@ do_clean()
...
@@ -328,7 +294,6 @@ do_clean()
if
test
x
$clean_x86
=
xyes
;
then
if
test
x
$clean_x86
=
xyes
;
then
do_clean
rm
-r
build/x86
do_clean
rm
-r
build/x86
fi
fi
if
test
x
$clean_
ppc
=
xyes
;
then
if
test
x
$clean_
x64
=
xyes
;
then
do_clean
rm
-r
build/
ppc
do_clean
rm
-r
build/
x64
fi
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment