summaryrefslogtreecommitdiff
path: root/data/darwintools/make.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-08-15 08:59:06 +0000
committerJay Freeman <saurik@saurik.com>2009-08-15 08:59:06 +0000
commit3bd91812f630f9be5b22117a0f2cf9923c1260db (patch)
tree98c4378145c4a3a184640a068fff4305b541e4cb /data/darwintools/make.sh
parent1e04378e72fd9c273fe76fd40773b12f9e147874 (diff)
Various things I forgot to commit.
git-svn-id: http://svn.telesphoreo.org/trunk@672 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/darwintools/make.sh')
-rw-r--r--data/darwintools/make.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/data/darwintools/make.sh b/data/darwintools/make.sh
index 1ae2f726b..7294145fd 100644
--- a/data/darwintools/make.sh
+++ b/data/darwintools/make.sh
@@ -1,7 +1,8 @@
pkg:setup
-pkg: mkdir -p /usr/bin
-for tool in startupfiletool sw_vers; do
- "${PKG_TARG}-gcc" -o "${tool}" "${tool}.c" -framework CoreFoundation
- pkg: cp -a "${tool}" /usr/bin
-done
+"${PKG_TARG}-gcc" -O2 -mthumb -o startupfiletool startupfiletool.c
+"${PKG_TARG}-gcc" -O2 -mthumb -o sw_vers sw_vers.c -framework CoreFoundation
+
+pkg: mkdir -p /usr/{,s}bin
+pkg: cp -a sw_vers /usr/bin
+pkg: cp -a startupfiletool /usr/sbin