#!/bin/sh

set -e

gsmlong=gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0

# l1_ext
dest=__out__/$gsmlong/obj/l1_ext
mkdir -p $dest
cp blobs/l1_ext/l1audio_async.obj	$dest
cp blobs/l1_ext/l1audio_back.obj	$dest
cp blobs/l1_ext/l1p_*.obj		$dest
cp blobs/l1_ext/l1tm_*.obj		$dest

# l1_int
dest=__out__/$gsmlong/obj/l1_int
mkdir -p $dest
cp blobs/l1_int/l1audio_func.obj	$dest
cp blobs/l1_int/l1audio_sync.obj	$dest
cp blobs/l1_int/l1p_*.obj		$dest
cp blobs/l1_int/macs.obj		$dest

# l1_cust_ext
dest=__out__/$gsmlong/obj/l1_cust_ext
mkdir -p $dest
cp blobs/l1_cust_ext/l1audio_cust.obj	$dest
cp blobs/l1_cust_ext/l1tm_cust.obj	$dest
cp blobs/l1_cust_ext/l1tm_tpu12.obj	$dest

# l1_cust_int
dest=__out__/$gsmlong/obj/l1_cust_int
mkdir -p $dest
cp blobs/l1_cust_int/l1_cust.obj	$dest

# tpudrv
dest=__out__/$gsmlong/obj/tpudrv
mkdir -p $dest
cp blobs/tpudrv/p_tpudr12.obj		$dest
