git.droids-corp.org
/
dpdk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
build: replace license text with SPDX tag
[dpdk.git]
/
buildtools
/
gen-pmdinfo-cfile.sh
1
#! /bin/sh
2
# SPDX-License-Identifier: BSD-3-Clause
3
# Copyright(c) 2017 Intel Corporation
4
5
arfile=$1
6
output=$2
7
pmdinfogen=$3
8
9
tmp_o=${output%.c.pmd.c}.tmp.o
10
11
ar p $arfile > $tmp_o && \
12
$pmdinfogen $tmp_o $output