summaryrefslogtreecommitdiff
path: root/data/diskdev-cmds/make.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-04-08 21:43:17 +0000
committerJay Freeman <saurik@saurik.com>2009-04-08 21:43:17 +0000
commit910283bcacd869d4b8cfd655f00d5d87ceb3cf72 (patch)
treea2a19e353b60b0a8dd0a77c503dbf723a7bd793d /data/diskdev-cmds/make.sh
parent960f0c8bd926f96246a6567ece6f9851a2b22b76 (diff)
Upgraded diskdev-cmds and shell-cmds, as they are somewhat fundamental.
git-svn-id: http://svn.telesphoreo.org/trunk@567 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/diskdev-cmds/make.sh')
-rw-r--r--data/diskdev-cmds/make.sh18
1 files changed, 12 insertions, 6 deletions
diff --git a/data/diskdev-cmds/make.sh b/data/diskdev-cmds/make.sh
index 5c1c8d6c5..1b9b8cf73 100644
--- a/data/diskdev-cmds/make.sh
+++ b/data/diskdev-cmds/make.sh
@@ -3,20 +3,25 @@ pkg:setup
cd disklib
rm -f mntopts.h getmntopts.c
-${PKG_TARG}-gcc -c *.c
+${PKG_TARG}-gcc -fno-common -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
+for tproj in !(fstyp|fsck_hfs|fuser|mount_portal|mount_swapfs|mount_umap).tproj; do
tproj=$(basename "${tproj}" .tproj)
echo ${tproj}
extra=
- if [[ ${tproj} = mount_cd9660 ]]; then
+
+ if [[ ${tproj} = restore ]]; then
+ extra="${extra} -DRRESTORE"
+ fi
+
+ if [[ ${tproj} = mount_cd9660 || ${tproj} = mount_hfs ]]; then
extra="${extra} -framework IOKit"
fi
- if [[ ${tproj} = mount_cd9660 || ${tproj} = newfs_hfs ]]; then
+ if [[ ${tproj} = mount_cd9660 || ${tproj} = mount_hfs || ${tproj} = newfs_hfs ]]; then
extra="${extra} -framework CoreFoundation"
fi
@@ -34,7 +39,8 @@ chmod u+s umount quota
pkg: mkdir -p /usr/bin /usr/libexec /usr/sbin /sbin
+# XXX: mt ufs
pkg: cp -a quota /usr/bin
-pkg: cp -a vsdbutil repquota fdisk edquota quot quotaon /usr/sbin
+pkg: cp -a dev_mkdb edquota fdisk quot quotaon repquota vsdbutil /usr/sbin
pkg: cp -a vndevice /usr/libexec
-pkg: cp -a clri dumpfs tunefs umount @(fsck|fstyp|mount|newfs)?(_*([a-z0-9])) /sbin
+pkg: cp -a clri dump dumpfs quotacheck restore tunefs umount @(fsck|fstyp|mount|newfs)?(_*([a-z0-9])) /sbin