When I tried to build Android 7.1.1 on macOS Sierra it fails... Compilation terminated with the following error dialog,
@ : command not found... How can I fix this error?? I found that @ is used to echo a command when that command fails...
Thanks in advance!
Code:
[ 1% 375/24412] build out/target/product/msm8909w/obj/KERNEL_OBJ/usr
FAILED: /bin/bash -c "(if [ ! -z \"msm8909w_defconfig\" ]; then
@ rm -f ../out/target/product/msm8909w/obj/KERNEL_OBJ/.config;
make -j4 -C kernel O=../out/target/product/msm8909w/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/Volumes/android/Android_16oct17/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- msm8909w_defconfig;
make -j4 -C kernel O=../out/target/product/msm8909w/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/Volumes/android/Android_16oct17/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- headers_install; fi )
&& (if [ \"msm8909w_defconfig\" != \"msm8909w_defconfig\" ]; then
echo \"Used a different defconfig for header generation\";
@ rm -f ../out/target/product/msm8909w/obj/KERNEL_OBJ/.config;
make -j4 -C kernel O=../out/target/product/msm8909w/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/Volumes/android/Android_LAW.BR.2.5-12100-8x09w.0_16oct17/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- msm8909w_defconfig; fi )
&& (if [ ! -z \"\" ]; then
echo \"Overriding kernel config with ''\";
echo >> out/target/product/msm8909w/obj/KERNEL_OBJ/.config;
make -j4 -C kernel O=../out/target/product/msm8909w/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/Volumes/android/Android_16oct17/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- oldconfig; fi )"
/bin/bash: @: command not found
@ : command not found... How can I fix this error?? I found that @ is used to echo a command when that command fails...
Thanks in advance!