Merge "Remove @hal_type from .hal files."
diff --git a/update-makefiles.sh b/update-makefiles.sh
index 842640f..44c72b0 100755
--- a/update-makefiles.sh
+++ b/update-makefiles.sh
@@ -6,7 +6,7 @@
 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<NF;i++){printf(".%s", $i);}; printf("@%s\n", $NF);}'; \