Photon is now built as a framework

This commit is contained in:
Max Wash
2020-07-07 18:53:54 +01:00
parent 083f176b84
commit 08df7d7a28
7 changed files with 176 additions and 15 deletions

11
scripts/add-framework-crt.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
framework_path=$1
binary_dir=$2
crt_files=$(find $binary_dir -name "crt*.s.o")
for crt_file in $crt_files; do
out="$framework_path/Binary/$(basename $crt_file .s.o).o"
cp -f $crt_file $out
done