2 # SPDX-License-Identifier: BSD-3-Clause
3 # Copyright(c) 2017 Intel Corporation
9 # The generated file must not be empty if compiled in pedantic mode
10 echo 'static __attribute__((unused)) const char *generator = "'$0'";' > $output
11 for ofile in `ar t $arfile` ; do
12 ar p $arfile $ofile | $pmdinfogen - - >> $output 2> /dev/null