numam-dpdk/buildtools/gen-pmdinfo-cfile.sh
Bruce Richardson 6c9457c279 build: replace license text with SPDX tag
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Luca Boccassi <bluca@debian.org>
2018-01-30 21:58:59 +01:00

13 lines
213 B
Bash
Executable File

#! /bin/sh
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
arfile=$1
output=$2
pmdinfogen=$3
tmp_o=${output%.c.pmd.c}.tmp.o
ar p $arfile > $tmp_o && \
$pmdinfogen $tmp_o $output