mirror of https://github.com/F-Stack/f-stack.git
14 lines
248 B
Bash
14 lines
248 B
Bash
|
#! /bin/sh
|
||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||
|
# Copyright(c) 2017 Intel Corporation
|
||
|
|
||
|
arfile=$1
|
||
|
output=$2
|
||
|
pmdinfogen=$3
|
||
|
|
||
|
echo > $output
|
||
|
for ofile in `ar t $arfile` ; do
|
||
|
ar p $arfile $ofile | $pmdinfogen - - >> $output 2> /dev/null
|
||
|
done
|
||
|
exit 0
|