[Android] zogthegreat:
OK, I keep hitting this problem:

make: *** No rule to make target 'vendor/motorola/athene/proprietary/bin/ipacm-diag', needed by '/home/zog/android/system/out/target/product/athene/system/bin/ipacm-diag'. Stop.

I've been googling this problem for the last day and half, but I cant find a solution. Here is my output:

#####

Export includes file: -- /home/zog/android/system/out/target/product/athene/obj/EXECUTABLES/vim_intermediates/export_includes

mv /home/zog/android/system/out/target/product/athene/obj/EXECUTABLES/vim_intermediates/export_includes.tmp /home/zog/android/system/out/target/product/athene/obj/EXECUTABLES/vim_intermediates/export_includes ;

Import includes file: /home/zog/android/system/out/target/product/athene/obj/EXECUTABLES/zip_intermediates/import_includes

Export includes file: -- /home/zog/android/system/out/target/product/athene/obj/EXECUTABLES/zip_intermediates/export_includes

mv /home/zog/android/system/out/target/product/athene/obj/EXECUTABLES/zip_intermediates/export_includes.tmp /home/zog/android/system/out/target/product/athene/obj/EXECUTABLES/zip_intermediates/export_includes ;

Notice file: external/zip/NOTICE -- /home/zog/android/system/out/target/product/athene/obj/NOTICE_FILES/src//system/xbin/zip.txt

make: *** No rule to make target 'vendor/motorola/athene/proprietary/bin/ipacm-diag', needed by '/home/zog/android/system/out/target/product/athene/system/bin/ipacm-diag'. Stop.

make: *** Waiting for unfinished jobs....

Export includes file: -- /home/zog/android/system/out/target/product/athene/obj/EXECUTABLES/fingerprintd_intermediates/export_includes

mv /home/zog/android/system/out/target/product/athene/obj/EXECUTABLES/fingerprintd_intermediates/export_includes.tmp /home/zog/android/system/out/target/product/athene/obj/EXECUTABLES/fingerprintd_intermediates/export_includes ;

make: Leaving directory '/home/zog/android/system'

#### make failed to build some targets (04:14 (mm:ss)) ####

#####

I downloaded the proprietary blobs from "The Muppets" git hub repo and installed them in /android/system/device/motorola/athene. I did notice this at the beginning whe I started to compile:

#####

Checking build tools versions...

find: ‘src/android’: No such file or directory

find: ‘src’: No such file or directory

find: ‘../commonutil/src’: No such file or directory

/bin/bash: line 0: cd: cts/tests/libcore/ojluni/resources: No such file or directory

find: ‘../../libs/commonutil/src’: No such file or directory

find: ‘../../provider/java’: No such file or directory

find: ‘src/android/bluetooth/client/pbap’: No such file or directory

find: ‘../../../frameworks/opt/hardware/cmhw’: No such file or directory

find: ‘/home/zog/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory

find: ‘dummy’: No such file or directory

find: ‘dummy’: No such file or directory

find: ‘dummy’: No such file or directory

find: ‘dummy’: No such file or directory

find: ‘InCallUI/src-N’: No such file or directory

find: ‘../ContactsCommon/src-N’: No such file or directory

find: ‘../PhoneCommon/src-N’: No such file or directory

find: ‘InCallUI/src-N’: No such file or directory

find: ‘../ContactsCommon/src-N’: No such file or directory

find: ‘../PhoneCommon/src-N’: No such file or directory

find: ‘dummy’: No such file or directory

#####

Not sure if it is relevant or not. I edited the /build/core/pathmap.mk file as described here:

https://xdaforums.com/android/help/solve-src-file-directory-lollipop-t3050955

But then it fails on nija:

#####

build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/zog/android/system/out/target/product/athene/system/etc/pp_calib_data_mipi_mot_cmd_lgd_1080p_546_v0.xml'

Starting build with ninja

ninja: Entering directory `.'

ninja: error: 'vendor/motorola/athene/proprietary/bin/ipacm-diag', needed by '/home/zog/android/system/out/target/product/athene/system/bin/ipacm-diag', missing and no known rule to make it

make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1

make: Leaving directory '/home/zog/android/system'

#### make failed to build some targets (32 seconds) ####

(EDIT), LOL, dumb noob mistake on my part. My current ROM is AICP, not Lineage OS. I'll reflash tonight and retry.