summaryrefslogtreecommitdiff
path: root/utils/nwztools/database/nvp/parse_nvp_header.sh
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-10-06 11:28:30 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-10-06 12:10:33 +0200
commit698779e3e898610800088b1ce6c6a2a25803b91c (patch)
treea2808f31ff1f655b5e055ae061814d70bcf87439 /utils/nwztools/database/nvp/parse_nvp_header.sh
parent3f1e4a0b1aa3c77d27a85fefb00c9c575eab715b (diff)
downloadrockbox-698779e3e898610800088b1ce6c6a2a25803b91c.tar.gz
rockbox-698779e3e898610800088b1ce6c6a2a25803b91c.zip
sonynwz: add nvp nodes for NW-A40/ZX300, various fixes for tools
We still miss the model IDS for those device so scsitool won't be able to recognize them automatically. Change-Id: I17ae0f0d95c011cea8e289def63c7673b6c4b667
Diffstat (limited to 'utils/nwztools/database/nvp/parse_nvp_header.sh')
-rwxr-xr-xutils/nwztools/database/nvp/parse_nvp_header.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/nwztools/database/nvp/parse_nvp_header.sh b/utils/nwztools/database/nvp/parse_nvp_header.sh
index ee2be93516..88fdb1dd4b 100755
--- a/utils/nwztools/database/nvp/parse_nvp_header.sh
+++ b/utils/nwztools/database/nvp/parse_nvp_header.sh
@@ -38,7 +38,8 @@ fi
38if [ "`echo "$LIST" | grep "icx_nvp_emmc.h" | wc -l`" = "1" ]; then 38if [ "`echo "$LIST" | grep "icx_nvp_emmc.h" | wc -l`" = "1" ]; then
39 LIST=`echo "$LIST" | grep "icx_nvp_emmc.h"` 39 LIST=`echo "$LIST" | grep "icx_nvp_emmc.h"`
40else 40else
41 LIST=`echo "$LIST" | grep 'icx[[:digit:]]*_nvp[[:alpha:]_]*.h'` 41# otherwise find any file named icx_nvp*.h but filter out icx_nvp_wrapper.h
42 LIST=`echo "$LIST" | grep 'icx[[:digit:]]*_nvp[[:alpha:]_]*.h' | sed '/icx_nvp_wrapper/d'`
42fi 43fi
43LIST_CNT=`echo "$LIST" | wc -l` 44LIST_CNT=`echo "$LIST" | wc -l`
44if [ "$LIST_CNT" = "0" ]; then 45if [ "$LIST_CNT" = "0" ]; then