Commit Graph

17 Commits

Author SHA1 Message Date
LuK1337 fc9499e55a Import latest Samsung release
* Package version: T713XXU2BQCO

Change-Id: I293d9e7f2df458c512d59b7a06f8ca6add610c99
2017-04-18 03:43:52 +02:00
Satish Kamuju b0715fdbcf Initial changes for initail bootup.
Initial changes for initail bootup.

Change-Id: I90c5c6ddc738eadfe18c30559b14615e5e73ae52
Signed-off-by: Satish Kamuju <skamuj@codeaurora.org>
2015-06-19 14:34:53 +05:30
Matthew qin 5713d7952f AndroidKernel.mk: Use a compressed image (Image.gz) for aarch64
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>
2015-03-12 02:36:10 -04:00
David Ng f5092b44a1 AndroidKernel.mk: Pass -mno-android to gcc if supported
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>
2014-06-19 11:32:07 -07:00
David Ng 9ee75859b2 AndroidKernel.mk: Fix multiple recompile with Android mm macro
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>
2014-06-19 11:32:07 -07:00
David Ng 5cf4129b07 AndroidKernel.mk: Use binder-32 for kernel 64/userspace 32
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>
2014-05-22 19:34:01 -07:00
Ameya Thakur ccf456cc77 AndroidKernel.mk: Define the path where the kernel should be installed
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>
2014-04-08 19:23:11 -07:00
David Ng 18ad55d539 AndroidKernel.mk: Change uncompressed kernel to use Image
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>
2014-01-15 10:44:35 -08:00
David Ng a6d38a4f22 AndroidKernel.mk: Allow make headers for different arch
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>
2014-01-15 10:43:23 -08:00
David Ng 931617e38a AndroidKernel.mk: Parameterize ARCH and CROSS_COMPILE compile flags
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>
2014-01-15 09:56:25 -08:00
David Ng fba0bca320 AndroidKernel: Remove dtb output directory on compile
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>
2013-12-06 10:04:09 -08:00
Stephen Boyd a1417ab836 AndroidKernel.mk: Remove DTS compilation
The kernel compiles this and the android build system knows how
to pick it up.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-09-04 17:24:44 -07:00
Shashank Mittal 250c099528 build: Add support to build multiple appended dtbs.
Add support to build zImage with multiple dtbs appended.

Change-Id: Iddb7884df3b8ff0da1b65ccba7efeb64acc0c0aa
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2013-09-04 17:15:52 -07:00
Ravi Kumar V 3628bdc7dc build: Pickup ARCH_MPQ8092 from defconfig
Change Android kernel build makefile to pick up CONFIG_ARCH_MPQ8092

Change-Id: Id99b78f59be9809c6a6a6d24636e5a16c46659bf
Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org>
2013-09-04 15:22:06 -07:00
Nagender Telkar d828953063 build: strip debug symbols from installed kernel modules
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>
2013-09-04 15:21:07 -07:00
David Ng 7c74917b09 build: Pick up multiple CONFIG_ARCH_ targets from defconfig for Android
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>
2013-09-04 15:19:39 -07:00
Stephen Boyd 5a8d9170e4 Add snapshot of mach-msm from beginning of msm-3.4
This also includes various documentation files and the devicetree
files for msm boards.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-09-04 14:53:53 -07:00