Commit graph android_kernel_sony_sdm845/AndroidKernel.mk
Message SHA1
AndroidKernel: Use TARGET_KERNEL_CROSS_COMPILE_PREFIX for both 32/64 bit
TARGET_TOOLS_PREFIX is a new variable introduced in build environment
which keeps the location of the toolchain from the android source, which
was working for 64bit but giving unwind warnings for 32 bit targets.

[    7.353691] VFS: Mounted root (ext4 filesystem) readonly on device 253:0.
[    7.363324] Freeing unused kernel memory: 2048K
[    7.375778] unwind: Unknown symbol address c010130c
[    7.375802] unwind: Index not found c010130c
[    7.379466] unwind: Unknown symbol address c010130c
[    7.383992] unwind: Index not found c010130c
[    7.388578] unwind: Unknown symbol address c010130c
[    7.393096] unwind: Index not found c010130c
[    7.397690] unwind: Unknown symbol address c010130c
[    7.402227] unwind: Index not found c010130c
[    7.406806] unwind: Unknown symbol address c010130c
[    7.411331] unwind: Index not found c010130c 

To solve this let's make the toolchain path prefix change in the target
BoardConfig file as per architecture(32/64) basis and avoid making change
in kernel.

Change-Id: I6ca9642aeabbba1b892e169816f3d6d260bd50d5
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>

Mukesh Ojha   commited 2018-12-10 18:11:25 +05:30
72378c4417
AndroidKernel: Use host machine tools
Use the host directory of tools for kernel cross
compilation to ensure build results are reproducible
across different machines.

Change-Id: I804745bb1962c46e944ba43e77e8876435c9059e
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>

Mukesh Ojha   authored and   Shadab Naseem   commited 2018-11-12 20:32:31 +05:30
844f56ea81
AndroidKernel: Explicitly mark certain targets as phony
kerneltags and kernelconfig are phony targets, so mark them
with .PHONY.

Change-Id: I7089d819ff7c64a7b07a0ca5d9de01ec216275b6
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>

Neeraj Upadhyay   authored and   Gerrit - the friendly Code Review server   commited 2018-10-16 03:19:17 -07:00
eff89ac295
AndroidKernel: Compile VM kernel in addition to base defconfig
Compile VM kernel defconfig, if specified, in addition to the
base defconfig.

Change-Id: Id40a4304be97144818fe8b71d2991273196903f0
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>

Neeraj Upadhyay   authored and   Gerrit - the friendly Code Review server   commited 2018-08-28 00:44:46 -07:00
368def78bf
AndroidKernel: add support to configure DLKM install path
Add support to configure DLKM install path.

TARGET_OUT is hard coded to system directory.
Use PRODUCT_OUT instead of TARGET_OUT to use user configured path
instead.

Change-Id: Iacbfa0fce69d3cb4b6f47a6c857983034633dc19
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Signed-off-by: Puja Gupta <pujag@codeaurora.org>

Puja Gupta   commited 2017-05-03 16:11:07 -07:00
4544540fd2
AndroidKernel: add support to pass build flags
Add support to pass build flags while compiling Linux kernel.

This change is required to add support in Linux kernel to use external
host executable. (example: dtc)

Usage example:
TARGET_KERNEL_MAKE_ENV := DTC_EXT=dtc$(HOST_EXECUTABLE_SUFFIX)

Change-Id: I008ca00cf9695133ff167ffdee8d8dfb89beb598
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Signed-off-by: Puja Gupta <pujag@codeaurora.org>

Puja Gupta   commited 2017-04-27 15:59:09 -07:00
e5df4f391a
AndroidKernel: Add the makefile required to build Android
The makefile invoked by the Android build system is now added to the
kernel tree.

CRs-Fixed: 2013720
Change-Id: I1613049a68f8f0f8b20979853fbc366d2c955db8
Signed-off-by: Ameya Thakur <ameyat@codeaurora.org>
Signed-off-by: Bhargav Gurappadi <bhargavg1@codeaurora.org>
Signed-off-by: Bruce Levy <blevy@codeaurora.org>

Ameya Thakur   authored and   Bruce Levy   commited 2017-03-02 12:52:26 -08:00
300fae9e8c