1#!/bin/bash
2# This script invokes QAIC to generate the source files associated with the
3# FastRPC IDL
4
5if [ -z "$HEXAGON_SDK_ROOT" ]; then
6    HEXAGON_SDK_ROOT="$HOME/Qualcomm/Hexagon_SDK/3.0"
7fi
8
9QAIC_DIR="$HEXAGON_SDK_ROOT/tools/qaic/Linux"
10OUT_DIR="../generated"
11
12mkdir -p $OUT_DIR
13"$QAIC_DIR"/qaic -mdll -o $OUT_DIR -I. chre_slpi.idl
14