error: overriding commands for target

1,076 views
Skip to first unread message

Dave McLaughlin

unread,
Oct 7, 2020, 1:01:53 PM10/7/20
to android-porting
I am trying to use PRODUCT_COPY_FILES in a vendor mk file output to system/xbin/su with a new su but I get an error that this copy already exists.

I've searched the mk files and cannot find where the exisitng copy is located. 

This is the full error out during the build.

FAILED: 
build/make/core/Makefile:28: error: overriding commands for target `out/target/product/t4/system/xbin/su', previously defined at build/make/core/base_rules.mk:480

Anyone know in which mk file the existing su copy is located?


Braganza Roberts

unread,
Oct 7, 2020, 7:04:24 PM10/7/20
to davemcla...@gmail.com, android-porting
I think it’s this one ...



--
--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porti...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-porting/388c47fb-f721-42ea-b9ab-716ee8bcc8b3n%40googlegroups.com.

Dave McLaughlin

unread,
Oct 8, 2020, 11:50:42 AM10/8/20
to android-porting
That worked. Thanks.
Reply all
Reply to author
Forward
0 new messages