Photon is now built as a framework
This commit is contained in:
11
scripts/add-framework-crt.sh
Executable file
11
scripts/add-framework-crt.sh
Executable 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
|
||||
Reference in New Issue
Block a user