summaryrefslogtreecommitdiff
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2018-02-23 17:34:27 -0800
committerSteven Moreland <smoreland@google.com>2018-02-23 17:34:27 -0800
commit2c794357bf1c0586206c41cf2c95342a35c3950a (patch)
treeea66ca46023005cd1ea3216fdc1116cef9f892f3 /CleanSpec.mk
parent2e517564d00abc514524411d5e32635ec92d8c11 (diff)
Only include bitness of hal impls that is used.
Bug: 73829928 Test: boot marlin, check directories, no errors during boot Change-Id: I0f84276a56eda410291b414710a665b3e0dbcedb
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r--CleanSpec.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 0d48e29f..95afcb33 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -88,3 +88,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/android.hardware.co
# Remove /system/lib[64]/vndk-sp/libz.so
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/vndk-sp/libz.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/vndk-sp/libz.so)
+
+# Remove all HALs (actual bitness now being specified)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/*)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/*)