diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-10-06 11:28:30 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-10-06 12:10:33 +0200 |
commit | 698779e3e898610800088b1ce6c6a2a25803b91c (patch) | |
tree | a2808f31ff1f655b5e055ae061814d70bcf87439 /utils/nwztools/database/nvp/parse_nvp_header.sh | |
parent | 3f1e4a0b1aa3c77d27a85fefb00c9c575eab715b (diff) | |
download | rockbox-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-x | utils/nwztools/database/nvp/parse_nvp_header.sh | 3 |
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 | |||
38 | if [ "`echo "$LIST" | grep "icx_nvp_emmc.h" | wc -l`" = "1" ]; then | 38 | if [ "`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"` |
40 | else | 40 | else |
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'` | ||
42 | fi | 43 | fi |
43 | LIST_CNT=`echo "$LIST" | wc -l` | 44 | LIST_CNT=`echo "$LIST" | wc -l` |
44 | if [ "$LIST_CNT" = "0" ]; then | 45 | if [ "$LIST_CNT" = "0" ]; then |