Commit Graph

7 Commits

Author SHA1 Message Date
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