Aarch64 use Image.gz to generate a compressed boot image,
it is not using zImage any more.
Change-Id: Ifa7152ce3e6885aed998f8ff44efd46b48dc56b1
Signed-off-by: Matthew Qin <yqin@codeaurora.org>
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>
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>
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>
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>
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>
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>
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>
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>
Add support to build zImage with multiple dtbs appended.
Change-Id: Iddb7884df3b8ff0da1b65ccba7efeb64acc0c0aa
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Change Android kernel build makefile to pick up CONFIG_ARCH_MPQ8092
Change-Id: Id99b78f59be9809c6a6a6d24636e5a16c46659bf
Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org>
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>
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>