summaryrefslogtreecommitdiff
path: root/data/diskdev-cmds
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
committerJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
commitd699a01fabaa04a1aad60f6ca5777f82ee24839a (patch)
tree1eb62bad23b14a0877c5b9171f2a5f9358c8d592 /data/diskdev-cmds
parent8a49e427447f40fdd43fc4b5f513b166dd639e2a (diff)
Drastic, sweeping modifications to support iPhone 1.2.0/2.0.
git-svn-id: http://svn.telesphoreo.org/trunk@199 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/diskdev-cmds')
-rw-r--r--data/diskdev-cmds/make.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/data/diskdev-cmds/make.sh b/data/diskdev-cmds/make.sh
index 7f70ce9d9..735de086b 100644
--- a/data/diskdev-cmds/make.sh
+++ b/data/diskdev-cmds/make.sh
@@ -4,8 +4,8 @@ cd *
cd disklib
rm -f mntopts.h getmntopts.c
-arm-apple-darwin-gcc -c *.c
-arm-apple-darwin-ar -r libdisk.a *.o
+${PKG_TARG}-gcc -c *.c
+${PKG_TARG}-ar -r libdisk.a *.o
cd ..
for tproj in !(fstyp|dev_mkdb|dump|fsck_hfs|fuser|mount_hfs|restore|quotacheck|ufs).tproj; do
@@ -21,15 +21,13 @@ for tproj in !(fstyp|dev_mkdb|dump|fsck_hfs|fuser|mount_hfs|restore|quotacheck|u
extra="${extra} -framework CoreFoundation"
fi
- arm-apple-darwin-gcc -Idisklib -o "${tproj}" $(find "${tproj}.tproj" -name '*.c') disklib/libdisk.a -lutil ${extra}
- arm-apple-darwin-strip "${tproj}"
+ ${PKG_TARG}-gcc -Idisklib -o "${tproj}" $(find "${tproj}.tproj" -name '*.c') disklib/libdisk.a -lutil ${extra}
done
cd fstyp.tproj
for c in *.c; do
bin=../$(basename "${c}" .c)
- arm-apple-darwin-gcc -o "${bin}" "${c}"
- arm-apple-darwin-strip "${bin}"
+ ${PKG_TARG}-gcc -o "${bin}" "${c}"
done
cd ..