diff --git a/update-makefiles.sh b/update-makefiles.sh index 842640f042..44c72b06ff 100755 --- a/update-makefiles.sh +++ b/update-makefiles.sh @@ -6,7 +6,7 @@ if [ ! -d hardware/interfaces ] ; then fi packages=$(pushd hardware/interfaces > /dev/null; \ - find . -type f -name Android.mk -exec dirname {} \; | \ + find . -type f -name \*.hal -exec dirname {} \; | sort -u | \ cut -c3- | \ awk -F'/' \ '{printf("android.hardware"); for(i=1;i