From d699a01fabaa04a1aad60f6ca5777f82ee24839a Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Sun, 6 Apr 2008 10:28:29 +0000 Subject: 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 --- data/diskdev-cmds/make.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'data/diskdev-cmds') 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 .. -- cgit v1.2.3