Skip to contentSkip to conversation

Android: add CleanSpec.mk

PATCH In review Chih-Wei Huang 3 participants 5 messages Nov 3, 2017 – Nov 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Android: add CleanSpec.mk

The file contains rules that are executed on incremental builds. Since commit 4f7dc9b6 the library was moved to /vendor so the old file must be removed.

---
 CleanSpec.mk | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 CleanSpec.mk
CleanSpec.mk new file +1 -0
new file mode 100644
index 0000000..99dcecd
@@ -0,0 +1 @@
+$(call add-clean-step, rm -rf $(TARGET_OUT)/lib*/hw/hwcomposer.drm.so)
Signature · 6 lines
2.13.6

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 16 lines · Chih-Wei Huang

The file contains rules that are executed on incremental builds. Since commit 4f7dc9b6 the library was moved to /vendor so the old file must be removed.

---
 CleanSpec.mk | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 CleanSpec.mk
CleanSpec.mk new file +0 -0
new file mode 100644
index 0000000..99dcecd

CleanSpec.mk line 1

Quoted 1 line
CleanSpec.mk new file +1 -0
@@ -0,0 +1 @@
+$(call add-clean-step, rm -rf $(TARGET_OUT)/lib*/hw/hwcomposer.drm.so)

Seems a bit silly to add forever an explicit file to clean for a transient problem.

Rob
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

2017-11-03 20:35 GMT+08:00 Rob Herring <[email protected]>:

Quoted 11 lines · Chih-Wei Huang
Quoted 10 lines

The file contains rules that are executed on incremental builds. Since commit 4f7dc9b6 the library was moved to /vendor so the old file must be removed.

---
 CleanSpec.mk | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 CleanSpec.mk
Quoted 10 lines

CleanSpec.mk line 1

Quoted 7 lines
CleanSpec.mk new file +1 -0
new file mode 100644
index 0000000..99dcecd
@@ -0,0 +1 @@
+$(call add-clean-step, rm -rf $(TARGET_OUT)/lib*/hw/hwcomposer.drm.so)

Seems a bit silly to add forever an explicit file to clean for a transient problem.

The problem is people usually won't notice the libraries have been moved to /vendor. In an incremental build the old files still exist in /system that may cause issues.

It's necessary unless you have a better idea to tell people "hey, you need to do a clean build".

Signature · 7 lines
Chih-Wei
Android-x86 project
http://www.android-x86.org
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw
In reply to Rob Herring

Hey Rob,

Quoted 12 lines · Rob Herring
Quoted 10 lines · Chih-Wei Huang

The file contains rules that are executed on incremental builds. Since commit 4f7dc9b6 the library was moved to /vendor so the old file must be removed.

---
 CleanSpec.mk | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 CleanSpec.mk
Quoted 12 lines
Quoted 8 lines
CleanSpec.mk new file +1 -0
new file mode 100644
index 0000000..99dcecd
@@ -0,0 +1 @@
+$(call add-clean-step, rm -rf

$(TARGET_OUT)/lib*/hw/hwcomposer.drm.so)

Seems a bit silly to add forever an explicit file to clean for a transient problem.

While transient, if maintaining multuple Android versions it may still stick around for quite some time.

That being said, I don't have much of an opinion about this.

Rob.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
Quoted 27 lines · Robert Foss

Hey Rob,

Quoted 12 lines · Rob Herring
Quoted 10 lines · Chih-Wei Huang

The file contains rules that are executed on incremental builds. Since commit 4f7dc9b6 the library was moved to /vendor so the old file must be removed.

---
 CleanSpec.mk | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 CleanSpec.mk
Quoted 12 lines
Quoted 8 lines
CleanSpec.mk new file +1 -0
new file mode 100644
index 0000000..99dcecd
@@ -0,0 +1 @@
+$(call add-clean-step, rm -rf

$(TARGET_OUT)/lib*/hw/hwcomposer.drm.so)

Seems a bit silly to add forever an explicit file to clean for a transient problem.

Quoted 2 lines

While transient, if maintaining multuple Android versions it may still stick around for quite some time.

That's not the issue. Once you do a clean build, the problem is gone regardless of version.

Rob
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel