aboutsummaryrefslogtreecommitdiff
path: root/AndroidKernel.mk
Commit message (Collapse)AuthorAgeFilesLines
* AndroidKernel: add support to configure DLKM install pathShashank Mittal2017-04-061-2/+2
| | | | | | | | | | | 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>
* AndroidKernel: add support to pass build flagsShashank Mittal2017-04-061-12/+19
| | | | | | | | | | | | | 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>
* AndroidKernel.mk: additional fixes for multi-kernel treeLior David2016-05-161-2/+2
| | | | | | | | | | | | | | | | | | | | Fixes 2 problems related to multi-kernel tree support: 1. Copying of modules to /system/lib/modules is broken when building in a multi-kernel tree. This is because INSTALL_MOD_PATH is not set correctly. When building a multi-kernel tree, the output directory is one additional directory deep, so modules end up under <out>/obj/system/lib/modules instead of <out>/system/lib/modules. Fix this by using BUILD_ROOT_LOC which is set appropriately for multi-kernel and standard trees. 2. When running "make kernelconfig" on a multi-kernel tree, the generated defconfig is copied to the wrong location, since it uses the old-style location under kernel, instead of kernel/<kernel name>. Change-Id: I90563104a5b6219472eaeae1964fc34b52586536 CRs-Fixed: 1014872 Signed-off-by: Lior David <liord@codeaurora.org>
* AndroidKernel.mk: Enforce KERNEL_OBJ generationDavid Ng2016-05-031-3/+5
| | | | | | | | | | | | Always create the KERNEL_OBJ symlink for legacy reference support when using the new directory style. Earlier the generation relies on another make target that requires it. Also solve a minor issue where the make @(hide) was incorrectly used within a shell command. Change-Id: Ie1b74b6a3eac563ee34865655b046f71411aca65 Signed-off-by: David Ng <dave@codeaurora.org>
* AndroidKernel.mk: Add support for multi kernel treeAmeya Thakur2016-03-231-15/+41
| | | | | | | | | | | | | | We now support building Android in a build tree that contains multiple kernels. The kernel version to be built is passed in by the higher level makefiles. Currently supported structure: - legacy <Android Root>/kernel - New <Android Root>/kernel/msm-* Change-Id: Ibd6c03c019643adfbadc61e46a3dd760930028bb Signed-off-by: Ameya Thakur <ameyat@codeaurora.org> Signed-off-by: David Ng <dave@codeaurora.org>
* AndroidKernel.mk: snapshot support for building in the Android build systemMatt Wagantall2016-03-231-0/+139
This snapshot is taken as of msm-3.14 commit 3bc54cf86b (Merge "msm: camera: Add dummy sub module in sensor pipeline") Signed-off-by: Matt Wagantall <mattw@codeaurora.org>