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