summaryrefslogtreecommitdiff
path: root/data/system-cmds/make.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-02-03 01:01:27 +0000
committerJay Freeman <saurik@saurik.com>2008-02-03 01:01:27 +0000
commitef02eb874b5cd7dd514ae204ea70465e3bebd012 (patch)
tree01f3103a53f1e827bed0b2ec463995b0ca793510 /data/system-cmds/make.sh
parent68fcb05a1797cc0593c68e3c0b801b8ba1cc3c52 (diff)
Fixed passwd on 1.1.3.
git-svn-id: http://svn.telesphoreo.org/trunk@44 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/system-cmds/make.sh')
-rw-r--r--data/system-cmds/make.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/data/system-cmds/make.sh b/data/system-cmds/make.sh
index 0275ab3e8..284e5dad4 100644
--- a/data/system-cmds/make.sh
+++ b/data/system-cmds/make.sh
@@ -1,6 +1,7 @@
shopt -s extglob
pkg:extract
cd *
+pkg:patch
cd getconf.tproj
for gperf in *.gperf; do
@@ -8,11 +9,14 @@ for gperf in *.gperf; do
done
cd ..
+arm-apple-darwin-gcc -o passwd passwd.tproj/!(od_passwd).c -I. -DTARGET_OS_EMBEDDED
+arm-apple-darwin-strip passwd
+
cp -va "${PKG_DATA}"/kextmanager* .
# dmesg reboot shutdown
-for tproj in getconf getty hostinfo iostat login nvram passwd sync sysctl vipw zprint; do
+for tproj in getconf getty hostinfo iostat login nvram sync sysctl vipw zprint; do
echo "${tproj}"
- arm-apple-darwin-gcc -o "${tproj}" "${tproj}.tproj"/!(od_passwd).c -I. -D'__FBSDID(x)=' -DTARGET_OS_EMBEDDED -framework CoreFoundation -framework IOKit kextmanagerUser.c
+ arm-apple-darwin-gcc -o "${tproj}" "${tproj}.tproj"/*.c -I. -D'__FBSDID(x)=' -DTARGET_OS_EMBEDDED -framework CoreFoundation -framework IOKit kextmanagerUser.c
arm-apple-darwin-strip "${tproj}"
done