diff options
author | Sam Bingner <sam@bingner.com> | 2018-10-12 16:47:06 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-10-12 16:47:06 -1000 |
commit | 24f6d59354df69788c96f26e8c046a50c383c886 (patch) | |
tree | ed2343230d45a634b15398dfa7a7e2c67a960aba /arch/iphoneos-arm/478.23 | |
parent | 330f4f07f97d829f6337de5b20efb19e58bab319 (diff) |
Build environment changes
Diffstat (limited to 'arch/iphoneos-arm/478.23')
-rw-r--r-- | arch/iphoneos-arm/478.23/environ.sh | 2 | ||||
-rw-r--r-- | arch/iphoneos-arm/478.23/firmware | 24 | ||||
-rw-r--r-- | arch/iphoneos-arm/478.23/prefix | 1 | ||||
-rw-r--r-- | arch/iphoneos-arm/478.23/strip | 26 | ||||
-rw-r--r-- | arch/iphoneos-arm/478.23/target | 1 |
5 files changed, 54 insertions, 0 deletions
diff --git a/arch/iphoneos-arm/478.23/environ.sh b/arch/iphoneos-arm/478.23/environ.sh new file mode 100644 index 000000000..469bb6485 --- /dev/null +++ b/arch/iphoneos-arm/478.23/environ.sh @@ -0,0 +1,2 @@ +export PKG_MCPU=-mthumb +export MACOSX_DEPLOYMENT_TARGET=10.5 diff --git a/arch/iphoneos-arm/478.23/firmware b/arch/iphoneos-arm/478.23/firmware new file mode 100644 index 000000000..3618678d4 --- /dev/null +++ b/arch/iphoneos-arm/478.23/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/478.23/prefix b/arch/iphoneos-arm/478.23/prefix new file mode 100644 index 000000000..74e4e23b0 --- /dev/null +++ b/arch/iphoneos-arm/478.23/prefix @@ -0,0 +1 @@ +/usr diff --git a/arch/iphoneos-arm/478.23/strip b/arch/iphoneos-arm/478.23/strip new file mode 100644 index 000000000..f6c2125de --- /dev/null +++ b/arch/iphoneos-arm/478.23/strip @@ -0,0 +1,26 @@ +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 executable acorn' |\ + *': Mach-O '?(64-bit )'executable '@(arm64|arm_v6|acorn) |\ + *': Mach-O bundle acorn'\ + ) + ;; + (*': Mach-O '?(64-bit )'dynamically linked shared library '@(acorn|arm_v6|arm64)) + ;; + (*) continue + ;; + esac + +# if arm-apple-darwin9-otool -hv "${bin}" | grep DYLIB_STUB &>/dev/null; then +# continue; fi +# if grep $'\xfa\xde\x0c\x01' "${bin}" &>/dev/null; then +# continue; fi + + perms=$(stat -f %p "${bin}" | sed -e s/^1//) + chmod 755 "${bin}" + echo "${PKG_BASE}/util/ldid" -S "${bin}" + "${PKG_BASE}/util/ldid" -S "${bin}" + chmod "${perms}" "${bin}" +done diff --git a/arch/iphoneos-arm/478.23/target b/arch/iphoneos-arm/478.23/target new file mode 100644 index 000000000..573e31146 --- /dev/null +++ b/arch/iphoneos-arm/478.23/target @@ -0,0 +1 @@ +arm-apple-darwin9 |