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>
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 Ojhaauthored and Shadab Naseemcommited 2018-11-12 20:32:31 +05:30
kerneltags and kernelconfig are phony targets, so mark them
with .PHONY.
Change-Id: I7089d819ff7c64a7b07a0ca5d9de01ec216275b6
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Neeraj Upadhyayauthored and Gerrit - the friendly Code Review servercommited 2018-10-16 03:19:17 -07:00
Compile VM kernel defconfig, if specified, in addition to the
base defconfig.
Change-Id: Id40a4304be97144818fe8b71d2991273196903f0
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Neeraj Upadhyayauthored and Gerrit - the friendly Code Review servercommited 2018-08-28 00:44:46 -07:00
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>
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>
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 Thakurauthored and Bruce Levycommited 2017-03-02 12:52:26 -08:00