From 698779e3e898610800088b1ce6c6a2a25803b91c Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Fri, 6 Oct 2017 11:28:30 +0200 Subject: 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 --- utils/nwztools/database/nvp/parse_nvp_header.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/nwztools/database/nvp/parse_nvp_header.sh') 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 if [ "`echo "$LIST" | grep "icx_nvp_emmc.h" | wc -l`" = "1" ]; then LIST=`echo "$LIST" | grep "icx_nvp_emmc.h"` else - LIST=`echo "$LIST" | grep 'icx[[:digit:]]*_nvp[[:alpha:]_]*.h'` +# otherwise find any file named icx_nvp*.h but filter out icx_nvp_wrapper.h + LIST=`echo "$LIST" | grep 'icx[[:digit:]]*_nvp[[:alpha:]_]*.h' | sed '/icx_nvp_wrapper/d'` fi LIST_CNT=`echo "$LIST" | wc -l` if [ "$LIST_CNT" = "0" ]; then -- cgit v1.2.3