aboutsummaryrefslogtreecommitdiff
path: root/AndroidKernel.mk
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'LA.UM.8.1.r1-12600-sm8150.0' of ↵Yaroslav Furman2019-12-231-1/+5
|\ | | | | | | | | | | | | | | https://source.codeaurora.org/quic/la/kernel/msm-4.14 into Q-raphael "LA.UM.8.1.r1-12600-sm8150.0" Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
| * AndroidKernel: For support 32-bit kernel compilelijuang2019-11-281-1/+5
| | | | | | | | | | | | | | | | This file only support arm64 kernel compile currently, now we need to supprot arm kenrel compile, so add this change. Change-Id: I171ead43c9450886d9e096fc58a2729dee3439a1 Signed-off-by: lijuang <lijuang@codeaurora.org>
* | AndroidKernel: Don't use vendor path for defconfigdragonGR2019-12-041-1/+1
|/
* kernel/build: Append RTIC dtb in dtb image for boot header v2Amareswar Reddy Valasa2019-09-231-3/+21
| | | | | | | | | | | | With Boot image header version 2, dtb is no longer appended to kernel image. dtb.img is generated separately. So concatenate RTIC dtb to the dtb.img for the bootloader to read the rtic dtb and share the measurement parameter to hypervisor. Make sure that the RTIC DTB rule added regardless of the presence of rtic_mp.dts. Instead, check this during the rule execution (never fail if RTIC DTS is missing). Change-Id: Id2d86aa44ae04ef82d3808f40e5f1187a8ec9735 Signed-off-by: Amareswar Reddy Valasa <avalasa@codeaurora.org>
* AndroidKernel: add TARGET_PREBUILT_INT_KERNEL_IMAGETengfei Fan2019-08-021-1/+18
| | | | | | | | Add TARGET_PREBUILT_INT_KERNEL_IMAGE to support compile modules to dependence on Image. Change-Id: If8f5825c3028fc8cd304cf745bcf68a6b2d28ec4 Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
* AndroidKernel: Fixed compile errors after enable boot header version 2lijuang2019-07-171-1/+5
| | | | | | | | Look for vendor under arch/arm64/boot/dts before creating a dtb.img. The target maybe doesn't have vendor folder. Change-Id: I872f6f7f2d4c7f46c5d871d129403c733896832b Signed-off-by: lijuang <lijuang@codeaurora.org>
* AndroidKernel: Building dtb.img to support header version 2Prakruthi Deepak Heragu2019-06-281-0/+9
| | | | | | | | | The dtb.img is made by concatenating all the compiled dtbs after the kernel is compiled. This dtb.img is then added to be a part of the boot.img. Change-Id: I7667d1c3118962bbc709a362a2b9a2b6419dede4 Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
* AndroidKernel.mk: Use make wildcard for file listingDavid Ng2019-04-051-1/+1
| | | | | | | | | Switch to using make wildcard command instead of invoking shell for ls to get file listing. This speeds up Android build processing time. Change-Id: If21f95cc32c87547e3c7c9ece19c980473f1e413 Signed-off-by: David Ng <dave@codeaurora.org>
* AndroidKernel: Use TARGET_KERNEL_CROSS_COMPILE_PREFIX for both 32/64 bitMukesh Ojha2019-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* AndroidKernel: Explicitly mark certain targets as phonyDivya Sharma2018-11-141-0/+2
| | | | | | | | kerneltags and kernelconfig are phony targets, so mark them with .PHONY. Change-Id: If2b6d9c20f8954f217c68dd8dec2360592f74492 Signed-off-by: Bruce Levy <blevy@codeaurora.org>
* ANDROID_BUILD_TOP is deprecated.Divya Sharma2018-10-271-3/+3
| | | | | | | | | | | | | | | | | | | | | ANDROID_BUILD_TOP variable is deprecated and thus all paths are assumed to be relative to the top directory. However, this is causing problem when some of the paths are constructed in the Android build system and used in the non-Android makefiles that are usually executed NOT at the top directory but at a sub directory using -C option. As a result, the relative path from the Android build system become invalid in the non-Android makefiles. In order to overcome the restriction, ANDROID_BUILD_TOP is manually constructed when invoking the non-Android makefiles by using $$(pwd). The non-Android makefiles are expected to construct the absolute path by prepending ANDROID_BUILD_TOP to any path that came from the Android build system. Change-Id: Ia2e380cf329f56c8d36ad8dbde90d6a655f9509a Signed-off-by: Divya Sharma <divyash@codeaurora.org> Signed-off-by: Bruce Levy <blevy@codeaurora.org> Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
* AndroidKernel: Look for defconfig under vendor/Raghavendra Rao Ananta2018-08-161-0/+4
| | | | | | | | | The target configuration searches for defconfig under configs/vendor/ by default. Hence, change the search path for the same for kernel configuration. Change-Id: Ica83363fc6783eb1ce2d46acfd755a1915e1d113 Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
* AndroidKernel: Add all generated dlkm to vendor imageRaghavendra Rao Ananta2018-07-261-0/+2
| | | | | | | | | | | Currently, the modules that are needed to be used should be explicitly mentioned in the Android's target configuration to copy the modules into vendor partition for the users to access/insert it. Hence, auto add all the modules that are generated as a part of kernel compilation to the vendor partition. Change-Id: I2b59a2e3c08a5be39b0eeca377cd945beaf4a792 Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
* AndroidKernel: Update the LLVM pathRaghavendra Rao Ananta2018-04-171-3/+3
| | | | | | | Update the LLVM path due to a change in the compiler version. Change-Id: I7c6c46047b4bb6f4a9e3d49eec1ae252c42fdbd8 Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
* AndroidKernel: Add configuration for the LLVM pathRaghavendra Rao Ananta2018-04-161-0/+14
| | | | | | | Set LLVM path depending on the configuration done by the build system. Change-Id: Ib4ebf15c17c2febfee44404df0d2582625f11516 Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
* AndroidKernel: Add LLVM support for KernelPrasad Sodagudi2017-12-011-12/+18
| | | | | | | | | Add necessary changes to be able to compile the Kernel with LLVM. Change-Id: I147a7abc29ec66828e9626a74125d391f8aaa329 Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org> Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* AndroidKernel: Add the makefile required to build AndroidPothuluraiah Usarthi2017-08-101-0/+175
The makefile invoked by the Android build system is now added to the kernel tree. Change-Id: I0bb97c6ec8f3dedf6da0247e23e5a5419e859a69 Signed-off-by: Pothuluraiah Usarthi <pusarthi@codeaurora.org>