summaryrefslogtreecommitdiff
path: root/data/kext-tools/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/kext-tools/make.sh')
-rwxr-xr-xdata/kext-tools/make.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/data/kext-tools/make.sh b/data/kext-tools/make.sh
index 5d02653d6..292ea7463 100755
--- a/data/kext-tools/make.sh
+++ b/data/kext-tools/make.sh
@@ -1,15 +1,15 @@
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
+#${PKG_TARG}-gcc -o kextload kextload_main.c -framework CoreFoundation utility.c -framework IOKit getiopolicy_np.c -DPRIVATE
+${PKG_TARG}-gcc -o kextstat kextstat_main.c
+${PKG_TARG}-gcc -o kextfind kextfind_*.c -framework IOKit -framework CoreFoundation QEQuery.c utility.c getiopolicy_np.c -DPRIVATE
+${PKG_TARG}-gcc -I. -o kextunload kextunload_main.c -framework CoreFoundation -framework IOKit utility.c getiopolicy_np.c -DPRIVATE
+${PKG_TARG}-gcc -o kextlibs kextlibs_main.c -framework IOKit -framework CoreFoundation utility.c getiopolicy_np.c -DPRIVATE
+${PKG_TARG}-gcc -o kextsymboltool kextsymboltool.c
+${PKG_TARG}-gcc -o mkextunpack mkextunpack_main.c -framework CoreFoundation compression.c
+#${PKG_TARG}-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
+#${PKG_TARG}-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