aboutsummaryrefslogtreecommitdiff
path: root/AndroidKernel.mk
Commit message (Collapse)AuthorAgeFilesLines
* AndroidKernel.mk: Pass -mno-android to gcc if supportedDavid Ng2014-06-191-2/+7
| | | | | | | | | When using a cross compiler that supports both Android and non-Android configurations, pass the -mno-android flag to use non-Android spec to compile the kernel. Change-Id: Ibd952f3aea06f9f4f8c957c8e2a7666dd5dcdbba Signed-off-by: David Ng <dave@codeaurora.org>
* AndroidKernel.mk: Fix multiple recompile with Android mm macroDavid Ng2014-06-191-5/+14
| | | | | | | | | | | Skip header file generation section if KERNEL_DEFCONFIG parameter is not defined. This occurs during Android mm build of a module (without dependency); and the lack of KERNEL_DEFCONFIG causes the command line to trigger a kernel recompile. Change-Id: I709d8c23691442e537ec6e2b7aebeb010d90a139 Signed-off-by: David Ng <dave@codeaurora.org>
* AndroidKernel.mk: Use binder-32 for kernel 64/userspace 32David Ng2014-05-221-0/+15
| | | | | | | | | Force 32-bit binder IPC for 64-bit kernel with 32-bit userspace. This is needed since pure 32-bit userspace does not have 64-bit binder IPC support. Change-Id: I6db45bb430ad2292d9cdbe7dc026e179ec6a0dc7 Signed-off-by: David Ng <dave@codeaurora.org>
* AndroidKernel.mk: Define the path where the kernel should be installedAmeya Thakur2014-04-081-0/+5
| | | | | | | | We now set the install path for the kernel image if it has not already been set earlier by the build system. Change-Id: I88d23916901ae9a96917c138a200d7e1772f02c0 Signed-off-by: Ameya Thakur <ameyat@codeaurora.org>
* AndroidKernel.mk: Change uncompressed kernel to use ImageDavid Ng2014-01-151-10/+10
| | | | | | | | Modify uncompressed kernel handling to use generated Image file instead of uncompressing the compressed piggy.gzip. Change-Id: Ide607830aa0a5a981fe34b34b273dcc0ded7fe6f Signed-off-by: David Ng <dave@codeaurora.org>
* AndroidKernel.mk: Allow make headers for different archDavid Ng2014-01-151-3/+20
| | | | | | | | | | | | Allow headers (sanitized kernel header generation for userspace consumption) for a different architecture than the one use for the kernel build. This is normally not recommended, but is useful for bring-up purposes. Change-Id: Ia2cfffb2e8e9c255cb1567664e88f7df0e8bb126 Signed-off-by: David Ng <dave@codeaurora.org>
* AndroidKernel.mk: Parameterize ARCH and CROSS_COMPILE compile flagsDavid Ng2014-01-151-13/+27
| | | | | | | | | Allow overriding of the ARCH and CROSS_COMPILE parameters passed to kernel make, with fallback to previous hardcoded values if the overrides are not defined. Change-Id: I33b571e22363fdc06eb9b867e13d4487a7b5bf55 Signed-off-by: David Ng <dave@codeaurora.org>
* AndroidKernel: Remove dtb output directory on compileDavid Ng2013-12-061-0/+1
| | | | | | | | | Force rebuild of dtbs by removing the dtb output directory at the start of a kernel compile in an Android build environment. Change-Id: I29f86adfb39b8da467cd7515d0aff2b9c62d1195 Signed-off-by: David Ng <dave@codeaurora.org>
* AndroidKernel.mk: Remove DTS compilationStephen Boyd2013-09-041-26/+0
| | | | | | | The kernel compiles this and the android build system knows how to pick it up. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
* build: Add support to build multiple appended dtbs.Shashank Mittal2013-09-041-0/+4
| | | | | | | Add support to build zImage with multiple dtbs appended. Change-Id: Iddb7884df3b8ff0da1b65ccba7efeb64acc0c0aa Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
* build: Pickup ARCH_MPQ8092 from defconfigRavi Kumar V2013-09-041-1/+1
| | | | | | | Change Android kernel build makefile to pick up CONFIG_ARCH_MPQ8092 Change-Id: Id99b78f59be9809c6a6a6d24636e5a16c46659bf Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org>
* build: strip debug symbols from installed kernel modulesNagender Telkar2013-09-041-1/+1
| | | | | | | | | | | Debug symbols in installed kernel modules consume space in the target filesystem, so strip them. Modules with debug symbols should be present in the KERNEL_OBJ location for debug purposes.  CRs-fixed: 400053 Change-Id: Ic7f75faf6d44b5bca831c159d7bb09bba6a12b66 Signed-off-by: Nagender Telkar <ntelkar@codeaurora.org>
* build: Pick up multiple CONFIG_ARCH_ targets from defconfig for AndroidDavid Ng2013-09-041-5/+5
| | | | | | | | | Change Android kernel build makefile to pick up multiple CONFIG_ARCH_ options for device tree targets. These options are used to indicate the DTS file(s) to compile. Change-Id: I25ea8072f428171b21c056177ea5fec1be660aa3 Signed-off-by: David Ng <dave@codeaurora.org>
* Add snapshot of mach-msm from beginning of msm-3.4Stephen Boyd2013-09-041-0/+91
This also includes various documentation files and the devicetree files for msm boards. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>