Files
photon/scripts/add-framework-crt.sh

12 lines
217 B
Bash
Raw Normal View History

2020-07-07 18:53:54 +01:00
#!/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