diff options
author | Jay Freeman <saurik@saurik.com> | 2008-01-01 05:58:43 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-01-01 05:58:43 +0000 |
commit | ea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch) | |
tree | 6826a5266d78c22210c194772a8daed06ef0a19c /data/kext-tools/make.sh | |
parent | a45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff) |
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/kext-tools/make.sh')
-rwxr-xr-x | data/kext-tools/make.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/data/kext-tools/make.sh b/data/kext-tools/make.sh new file mode 100755 index 000000000..5d02653d6 --- /dev/null +++ b/data/kext-tools/make.sh @@ -0,0 +1,18 @@ +tar -zxvf "${PKG_DATA}/kext_tools-117.tar.gz" +cd kext_tools-117 +cp -a "${PKG_DATA}/getiopolicy_np.c" . +#arm-apple-darwin-gcc -o kextload kextload_main.c -framework CoreFoundation utility.c -framework IOKit getiopolicy_np.c -DPRIVATE +arm-apple-darwin-gcc -o kextstat kextstat_main.c +arm-apple-darwin-gcc -o kextfind kextfind_*.c -framework IOKit -framework CoreFoundation QEQuery.c utility.c getiopolicy_np.c -DPRIVATE +arm-apple-darwin-gcc -I. -o kextunload kextunload_main.c -framework CoreFoundation -framework IOKit utility.c getiopolicy_np.c -DPRIVATE +arm-apple-darwin-gcc -o kextlibs kextlibs_main.c -framework IOKit -framework CoreFoundation utility.c getiopolicy_np.c -DPRIVATE +arm-apple-darwin-gcc -o kextsymboltool kextsymboltool.c +arm-apple-darwin-gcc -o mkextunpack mkextunpack_main.c -framework CoreFoundation compression.c +#arm-apple-darwin-gcc -o kextd kextd_main.c -framework CoreFoundation -framework IOKit getiopolicy_np.c -DPRIVATE logging.c request.c PTLock.c watchvol.c bootcaches.c utility.c safecalls.c +#arm-apple-darwin-gcc -o kextcache kextcache_main.c -framework CoreFoundation -framework IOKit utility.c prelink.c mkext_file.c logging.c arch.c bootcaches.c compression.c safecalls.c update_boot.c getiopolicy_np.c -DPRIVATE +# XXX: these files shouldn't go in /usr/bin +pkg: mkdir -p /sbin /usr/bin /usr/sbin +pkg: cp -a kextfind kextlibs kextsymboltool /usr/bin +#pkg: cp -a kextd /usr/libexec +pkg: cp -a kextunload /sbin #kextload +pkg: cp -a mkextunpack kextstat /usr/sbin #kextcache |