Commit graph

3 commits

Author SHA1 Message Date
a7301c
6670e0265a Pass absolute path of "TOP" to Kbuild.
In R, Only a few limite environment variables are passed
to ninjia, others will be cleared.
So, pass this "TOP" specically to kernel modules build.
And have to be absolute path.
Otherwise, the header can't be located.

Change-Id: I7820e3d8112611c1c16a1807ea57ab9949416918
Reviewed-on: https://gerrit.mot.com/1508821
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Submit-Approved: Jira Key
Tested-by: Jira Key
Reviewed-by: Yinjun Chen <a7301c@motorola.com>
Reviewed-on: https://gerrit.mot.com/1540154
2020-04-22 11:24:25 -05:00
Ryan Lattrel
8298f6d098 add clang build option
Add option to build using clang via
USE_CLANG_FOR_MODULES. Add to the appropriate
board file for the product that needs clang.

Change-Id: I05578ac49de38887b3f359276a3350d0bb5a18db
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1399094
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2019-08-08 22:17:12 +00:00
Kenny Kessler
b0416cac67 motorola: dlkm: Initial AndroidKernelModule.mk
Add the Android Kernel Module Makefile that all motorola
dlkm will reference.

Change-Id: I2676c8ecf94099b8de8f33a708946bfd4356dd0e
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1099028
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
2017-12-05 11:26:05 -06:00