summaryrefslogtreecommitdiff
path: root/arch/iphoneos-arm/1443.00
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-10-12 16:47:06 -1000
committerSam Bingner <sam@bingner.com>2018-10-12 16:47:06 -1000
commit24f6d59354df69788c96f26e8c046a50c383c886 (patch)
treeed2343230d45a634b15398dfa7a7e2c67a960aba /arch/iphoneos-arm/1443.00
parent330f4f07f97d829f6337de5b20efb19e58bab319 (diff)
Build environment changes
Diffstat (limited to 'arch/iphoneos-arm/1443.00')
-rw-r--r--arch/iphoneos-arm/1443.00/entitlement.xml9
-rw-r--r--arch/iphoneos-arm/1443.00/environ.sh13
-rw-r--r--arch/iphoneos-arm/1443.00/firmware24
-rw-r--r--arch/iphoneos-arm/1443.00/prefix1
-rw-r--r--arch/iphoneos-arm/1443.00/strip33
-rw-r--r--arch/iphoneos-arm/1443.00/target1
-rw-r--r--arch/iphoneos-arm/1443.00/tools.txt41
7 files changed, 122 insertions, 0 deletions
diff --git a/arch/iphoneos-arm/1443.00/entitlement.xml b/arch/iphoneos-arm/1443.00/entitlement.xml
new file mode 100644
index 000000000..efcd38e15
--- /dev/null
+++ b/arch/iphoneos-arm/1443.00/entitlement.xml
@@ -0,0 +1,9 @@
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>platform-application</key>
+ <true/>
+ <key>com.apple.private.skip-library-validation</key>
+ <true/>
+</dict>
+</plist>
diff --git a/arch/iphoneos-arm/1443.00/environ.sh b/arch/iphoneos-arm/1443.00/environ.sh
new file mode 100644
index 000000000..50cc6928f
--- /dev/null
+++ b/arch/iphoneos-arm/1443.00/environ.sh
@@ -0,0 +1,13 @@
+export PKG_ar="xcrun -sdk iphoneos ar"
+export PKG_dsymutil="xcrun -sdk iphoneos dsymutil"
+export PKG_gcc="xcrun -sdk iphoneos gcc"
+export PKG_nmedit="xcrun -sdk iphoneos nmedit"
+export PKG_otool="xcrun -sdk iphoneos otool"
+export PKG_strip="xcrun -sdk iphoneos strip"
+export PKG_codesign_allocate="xcrun -sdk iphoneos codesign_allocate"
+export PKG_gpp="xcrun -sdk iphoneos g++"
+export PKG_nm="xcrun -sdk iphoneos nm"
+export PKG_objdump="xcrun -sdk iphoneos objdump"
+export PKG_ranlib="xcrun -sdk iphoneos ranlib"
+export PKG_MCPU=""
+export MACOSX_DEPLOYMENT_TARGET=10.13
diff --git a/arch/iphoneos-arm/1443.00/firmware b/arch/iphoneos-arm/1443.00/firmware
new file mode 100644
index 000000000..3618678d4
--- /dev/null
+++ b/arch/iphoneos-arm/1443.00/firmware
@@ -0,0 +1,24 @@
+iPhone1,1_2.0_5A347
+iPhone1,2_2.0_5A347
+iPod1,1_2.0_5A347
+iPhone1,1_2.0.1_5B108
+iPhone1,2_2.0.1_5B108
+iPod1,1_2.0.1_5B108
+iPhone1,1_2.0.2_5C1
+iPhone1,2_2.0.2_5C1
+iPod1,1_2.0.2_5C1
+iPhone1,1_2.1_5F136
+iPhone1,2_2.1_5F136
+iPod1,1_2.1_5F137
+iPhone1,1_2.2_5G77
+iPhone1,2_2.2_5G77
+iPod1,1_2.2_5G77
+iPhone1,1_2.2.1_5H11
+iPhone1,2_2.2.1_5H11
+iPod1,1_2.2.1_5H11
+iPod2,1_2.2.1_5H11a
+iPhone1,1_3.0_7A341
+iPhone1,2_3.0_7A341
+iPhone2,1_3.0_7A341
+iPod1,1_3.0_7A341
+iPod1,2_3.0_7A341
diff --git a/arch/iphoneos-arm/1443.00/prefix b/arch/iphoneos-arm/1443.00/prefix
new file mode 100644
index 000000000..74e4e23b0
--- /dev/null
+++ b/arch/iphoneos-arm/1443.00/prefix
@@ -0,0 +1 @@
+/usr
diff --git a/arch/iphoneos-arm/1443.00/strip b/arch/iphoneos-arm/1443.00/strip
new file mode 100644
index 000000000..fb6f928c1
--- /dev/null
+++ b/arch/iphoneos-arm/1443.00/strip
@@ -0,0 +1,33 @@
+export PATH=${PKG_BASE}/util:$PATH
+find "${PKG_DEST}" -type f \( -perm -0100 -o -name '*.dylib' -o -name '*.so' \) -print0 | while read -r -d $'\0' bin; do
+ ENTITLEMENT=""
+ case "$(file "${bin}")" in (\
+ *': Mach-O fat file with '*([0-9])' architecture' |\
+ *': '*(setuid |setgid )'Mach-O 64-bit executable arm64' \
+ )
+ ENTITLEMENT="${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/entitlement.xml"
+ ;;
+ (\
+ *': Mach-O '?(64-bit )'dynamically linked shared library '@(acorn|arm64) |\
+ *': Mach-O '?(64-bit )'bundle '@(acorn|arm64) |\
+ *': '*(setuid |setgid )'Mach-O executable acorn' \
+ )
+ ;;
+ (*) continue
+ ;;
+ esac
+
+ if "${PKG_TARG}-otool" -hv "${bin}" | grep DYLIB_STUB &>/dev/null; then
+ continue; fi
+ if grep $'\xfa\xde\x0c\x01' "${bin}" &>/dev/null; then
+ continue; fi
+ if "${PKG_BASE}/util/ldid3" -e "${bin}" >/dev/null 2>&1; then
+ continue; fi
+
+ perms=$(stat -f %p "${bin}" | sed -e s/^1//)
+ chmod 755 "${bin}"
+
+ echo "${PKG_BASE}/util/ldid3" -S"${ENTITLEMENT}" "${bin}"
+ "${PKG_BASE}/util/ldid3" -S"${ENTITLEMENT}" "${bin}"
+ chmod "${perms}" "${bin}"
+done
diff --git a/arch/iphoneos-arm/1443.00/target b/arch/iphoneos-arm/1443.00/target
new file mode 100644
index 000000000..d05ed09dc
--- /dev/null
+++ b/arch/iphoneos-arm/1443.00/target
@@ -0,0 +1 @@
+aarch64-apple-darwin17
diff --git a/arch/iphoneos-arm/1443.00/tools.txt b/arch/iphoneos-arm/1443.00/tools.txt
new file mode 100644
index 000000000..5e90e3f2e
--- /dev/null
+++ b/arch/iphoneos-arm/1443.00/tools.txt
@@ -0,0 +1,41 @@
+strip
+dsymutil
+nmedit
+g++
+c++
+gpp
+aCC
+CC
+cxx
+cc++
+cl.exe
+FCC
+KCC
+RCC
+xlC_r
+xlC
+g77
+xlf
+f77
+frt
+pgf77
+cf77
+fort77
+fl32
+af77
+xlf90
+f90
+pgf90
+pghpf
+epcf90
+gfortran
+g95
+xlf95
+f95
+fort
+ifort
+ifc
+efc
+pgf95
+lf95
+ftn