summaryrefslogtreecommitdiff
path: root/kernel_headers.py
AgeCommit message (Collapse)Author
2020-06-01kernel_headers: Fix headers not detected in incremental buildsRishabh Bhatnagar
Currently the Soong logic doesn't kick in if a change updates headers but doesn't update gen_headers_arm*.bp files for incremental builds. Fix the issue by making inputs to the kernel_headers.py script as variables instead of a list. Change-Id: I9737f6d655848458bfda70b8c6f4d9aa896a98fc Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org> Signed-off-by: Prateek Sood <prsood@codeaurora.org> [bharad@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org> [schikk@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2020-06-01kernel headers: Update comparison logicSiddharth Gupta
Update comparison logic used to figure out the headers that need to be added or removed from the corresponding blueprint file. Change-Id: I1f8eeea9750074d57868593a9693c016644e3682 Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org> Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org> Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org> Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2020-06-01Kbuild : Use no-export-headers to avoid exporting headersNaitik Bharadiya
Add header files under no-export-headers in Kbuild to avoid exporting specific headers files. Scan no-export-headers files in Kbuild and add it to exclude list in kernel_headers.py to avoid exporting header files. Change-Id: Ice052b5428ef1f7445c5ad2e68c7da8fa7e249ae Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org> [schikk@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2020-06-01kernel_headers: kernel headers library packagePrateek Sood
This change is foundational for converting many modules that depend on kernel headers built via the platform build system. Bug: 143567008 Change-Id: I5808a8464ed30287b75baac9a74285bff5825fe2 [rishabhb@codeaurora.org: add logic to iterate over mandatory headers and only generate these headers if not already present in usr/include/asm.] Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org> Signed-off-by: Prateek Sood <prsood@codeaurora.org> [bharad@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org> [schikk@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>