[dpdk-dev] scripts: remove unused map files merger
Commit Message
This script was forgotten when dropping the combined library.
Fixes: 948fd64befc3 ("mk: replace the combined library with a linker script")
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
MAINTAINERS | 1 -
scripts/merge-maps.sh | 29 -----------------------------
2 files changed, 30 deletions(-)
delete mode 100755 scripts/merge-maps.sh
Comments
On 05/19/2016 09:05 PM, Thomas Monjalon wrote:
> This script was forgotten when dropping the combined library.
>
> Fixes: 948fd64befc3 ("mk: replace the combined library with a linker script")
>
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> ---
I haven't even noticed there was such a script :) Thanks for spotting.
Acked-by: Panu Matilainen <pmatilai@redhat.com>
- Panu -
2016-05-20 08:24, Panu Matilainen:
> On 05/19/2016 09:05 PM, Thomas Monjalon wrote:
> > This script was forgotten when dropping the combined library.
> >
> > Fixes: 948fd64befc3 ("mk: replace the combined library with a linker script")
> >
> > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> > ---
>
> I haven't even noticed there was such a script :) Thanks for spotting.
>
> Acked-by: Panu Matilainen <pmatilai@redhat.com>
Applied
@@ -56,7 +56,6 @@ F: scripts/auto-config-h.sh
F: scripts/depdirs-rule.sh
F: scripts/gen-build-mk.sh
F: scripts/gen-config-h.sh
-F: scripts/merge-maps.sh
F: scripts/relpath.sh
F: doc/build-sdk-quick.txt
F: doc/guides/prog_guide/build_app.rst
deleted file mode 100755
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-FILES=$(find "$RTE_SDK"/lib "$RTE_SDK"/drivers -name "*_version.map")
-SYMBOLS=$(grep -h "{" $FILES | sort -u | sed 's/{//')
-
-first=0
-prev_sym="none"
-
-for s in $SYMBOLS; do
- echo "$s {"
- echo " global:"
- echo ""
- for f in $FILES; do
- sed -n "/$s {/,/}/p" "$f" | sed '/^$/d' | grep -v global | grep -v local | sed -e '1d' -e '$d'
- done | sort -u
- echo ""
- if [ $first -eq 0 ]; then
- first=1;
- echo " local: *;";
- fi
- if [ "$prev_sym" = "none" ]; then
- echo "};";
- prev_sym=$s;
- else
- echo "} $prev_sym;";
- prev_sym=$s;
- fi
- echo ""
-done