Commit Graph

10 Commits

Author SHA1 Message Date
Satya Durga Srinivasu Prabhala 3219130413 common: DLKM: update module sign file to support 4.4 kernel
In 4.4 kernel, module sign file gets built as a host executable.
To enable signing the modules on 4.4 kernel, sign file used while
signing DLKMs needs to be updated.

CRs-Fixed: 1018761
Change-Id: I1c4229f4fcf0db0982e9889168b76111e85d3ccd
2016-07-05 11:08:12 -07:00
Ameya Thakur 16e5fd8192 common: Add support for new build tree structure
The kernel now resides within a subir under build_root/kernel.Adding
support for this build tree structure.

Change-Id: Ic7806d3b1780e633df0335905680731598646f97
2016-03-23 18:37:35 -07:00
David Ng 473687056b Initial release bring-up
Numerous changes to bring-up tree on new release.  Some permanent
and some temporary until all modules are in place.

Final changes:
- re-enable JACK compilation
- supporting changes for kernel source relocation to kernel/msm-3.18
- remove camera preview hint in power HAL

Temporary:
- disable Trebuchet, Mms
- disable device overlays

Change-Id: I4ecd709ab2fdae80635e9d6f35d5251724216eb5
2016-03-07 15:26:59 -08:00
David Ng c4fa30794b common: Fix stripped debug DLKM generation
Fix the stripping/signing sequence bug in an earlier
change that accidentally switched the order of
debug symbol stripping vs signing process.

Change-Id: I971cb189af4e2a8eca70386f9b8c6d4a5bacd0ac
2014-10-27 16:27:23 -07:00
David Ng dbbe3f9476 common: fix Android build makefile rescan issue
Move logic of kernel module signing .config scan from
general section to under a make target.  This avoids
an issue that triggers a rescan of all Android
makefiles.

Change-Id: I1cb6d35e20bca72c9c228ad25288b593500ec20e
2014-10-16 18:51:19 -07:00
AnilKumar Chimata 5faa857e21 common: Enable kernel module signing
Enable kernel module signing

Change-Id: Ic4fb849ae026a7f9c406486a0f09d5886d52bb46
2014-08-25 02:25:37 -07:00
David Ng 35a773dbeb build: Add KERNEL_CFLAGS parameter for dlkm compilation
Additional CFLAGS defined in AndroidKernel.mk needed to compile
the kernel are now used during out-of-kernel-tree dlkm
generation.

Change-Id: I7ea6e1c4e340cbc397aeb90a592422dd9e57239d
2014-06-19 11:36:45 -07:00
Aparna Das bf670616d5 build: selectively enable DLKM
For 64-bit kernel and 32-bit Android userspace all DLKM with source
outside of the kernel source tree are disabled. Support compilation
of DLKMs selectively.

Change-Id: I3f2dd9a65d0dd9f755f6610d72a562648ac92daf
2014-02-04 13:40:41 -08:00
David Ng 4a3f6b23b6 build: Generalize kernel DTB path and optionally disable DLKM
Use $TARGET_KERNEL_ARCH to specify the architecture-dependent
path location of the DTB files.  Also, optionally disable
compilation of DLKM based on TARGET_KERNEL_DLKM_DISABLE flag.

Change-Id: I302f407d987e1b33acb0e47b284a1cb793747691
2014-02-03 16:31:27 -08:00
Satya Durga Srinivasu Prabhala fee5997e27 common:build: add AndroidKernelModule.mk
External Kernel Modules should be build as just like other Modules.
AndroidKernelModule.mk introduced to build the external Kernel
Modules just like other modules in the build system.

Change-Id: I1830d7ab8f9812fc5461d3451dee6e131c6f0053
2012-07-11 20:35:06 +05:30