bullhead is an arm64 device, you need to run:
export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-android-
On Sun, Jan 29, 2017 at 1:57 PM, Andrew Weiner
wrote:
> Hello community,
>
> I am trying to build the Android kernel following the instructions here:
> http://source.android.com/source/building-kernels.html
> I am trying to build for a Nexus 5X so I've been using this row of the
> Kernels table:
> bullhead device/lge/bullhead-kernel kernel/msm bullhead_defconfig
>
> When I get down to this part [http://source.android.com/
> source/building-kernels.html#building], I run this command...
> make bullhead_defconfig
> ...and I get the following error message:
>
> ***
>
> *** Can't find default configuration "arch/arm/configs/bullhead_
> defconfig"!
>
> ***
>
> make[1]: *** [bullhead_defconfig] Error 1
>
> make: *** [bullhead_defconfig] Error 2
>
> Indeed, when I have a look in arch/arm/configs, I see that there is no
> file called bullhead_defconfig.
>
> Should I be using a different defconfig file? If so, does the
> build-kernels documentation need to be updated?
>
> I should mention that I checked out commit
> d28c62a152463152f5fbf84df30e1f0a68f2fc59
> (https://android.googlesource.com/kernel/msm.git/+/android-
> msm-bullhead-3.10-nougat-mr1.1)
>
> Full disclosure, this is my first time working with the Android source, so
> please be gentle :)
>
> Thanks!
>
> Andrew
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> 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 android-building+unsubscr...@googlegroups.com.
> 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 android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.