What source (branch/etc) are you using? You've got both a PRODUCT_COPY_RULES entry and a LOCAL_MODULE/BUILD_* rule for creating nanotool.
On aosp/master, the LOCAL_MODULE definition appears to be in device/google/contexthub/util/nanotool/Android.mk Do you have older vendor blobs under vendor/ that reference nanotool with PRODUCT_COPY_FILES? - Dan On Thu, Oct 18, 2018 at 7:52 AM Vincent Victor <[email protected]> wrote: > Following error is shown: > > *[ 58% 567/970] including system/sepolicy/Android.mk ...* > *system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not > specified, assuming current platform version* > *[100% 970/970] writing build rules ...* > *FAILED: * > *build/make/core/Makefile:28: error: overriding commands for target > `out/target/product/sailfish/system/bin/nanotool', previously defined at > build/make/core/base_rules.mk:414 <http://base_rules.mk:414/>* > *15:55:45 ckati failed with: exit status 1* > > *#### failed to build some targets (01:11 (mm:ss)) ####* > > > Please help! > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
