Skip to content

Linux Kernel source code for the device bq Aquaris M10

License

Notifications You must be signed in to change notification settings

vendor-mtk-sources/Bq-aquaris-M10

 
 

Repository files navigation

WHAT IS THIS?

Linux Kernel source code for the devices:

  • bq aquaris M10

BUILD INSTRUCTIONS?

Specific sources are separated by branches and each version is tagged with it's corresponding number. First, you should clone the project:

    $ git clone https://github.com/bq/aquaris-M10.git

After it, choose the version you would like to build:

  • Aquaris M10 *

      $ mv aquaris-M10 kernel
      $ cd kernel
      $ git checkout aquaris-M10_3.x
    

At the same level of the "kernel" directory:

Download a prebuilt gcc:

    $ git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 -b oreo-mr1-release

Create KERNEL_OUT dir:

    $ mkdir KERNEL_OUT   

Your directory tree should look like this:

  • kernel
  • aarch64-linux-android-4.9
  • KERNEL_OUT

Finally, build the kernel according the next table of product names:

device product
bq aquaris M10 bq_aquaris_m10
    $ make -C kernel  O=../KERNEL_OUT  ARCH=arm64 CROSS_COMPILE=../aarch64-linux-android-4.9/bin/aarch64-linux-android- {product}_defconfig
    $ make O=../KERNEL_OUT/ -C kernel ARCH=arm64  CROSS_COMPILE=../aarch64-linux-android-4.9/bin/aarch64-linux-android- TARGET_BUILD_VARIANT=user                      

You can specify "-j CORES" argument to speed-up your compilation, example:

    $ make O=../KERNEL_OUT/ -C kernel ARCH=arm64  CROSS_COMPILE=../aarch64-linux-android-4.9/bin/aarch64-linux-android- TARGET_BUILD_VARIANT=user -j 8

About

Linux Kernel source code for the device bq Aquaris M10

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 95.7%
  • Assembly 1.7%
  • C++ 1.5%
  • Objective-C 0.4%
  • Makefile 0.4%
  • Perl 0.1%
  • Other 0.2%