9 Commits

Author SHA1 Message Date
Joey Huab
61169af766 Remove qti_kernel_headers 2025-10-29 04:15:32 +09:00
kondors1995
ed1add7924 Revert "headers_lib: rename Android.bp"
This reverts commit 20cb76bb9a.
2024-10-18 22:39:27 +03:00
Prateek Sood
20cb76bb9a headers_lib: rename Android.bp
Renaming Android.bp to Androidbp is done to avoid compilation
failure reported for SA* targets.

Ignore tracking of Android.bp link file.

Change-Id: Ie36f8bf5e0ac011e5f82e4cbd3c2cc7d6bf14070
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
2024-07-27 11:19:28 +03:00
Omkar Chandorkar
0e2b1478ba Android.bp: Allow system to use generated kernel headers
Change-Id: I3b873c830e94b2c56d6b767f2a3ccd413d6516a3
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-08-19 16:37:04 +03:00
Bill Peckham
9ec1359c81 Use environment variable to find unifdef tool
Tools used within the sandbox are now copied into the
sandbox, see aosp/1531944. This caused the modified
headers_install.sh, which is no longer installed, to
point to a non-existent location.

This change adds a level of indirection. The
gen-headers_install.sh module no longer uses unifdef as
a tool, but still modifies the headers_install.sh
script, but not to point to a particular location, but
to find the unifdef tool via an environment variable,
LOC_UNIFDEF.

Next, we modify qti_generate_kernel_headers_arm and
qti_generate_kernel_headers_arm64 to need the unifdef
tool (which is copied into the sandbox for these tools).

We add a new --unifdef option to the kernel_headers.py
script so that it can find the tool in the sandbox. The
kernel_headers.py script sets the LOC_UNIFDEF
environment variable before invoking the altered
headers_install.sh script (also copied into the
sandbox).

Finally, we generate gen_headers_arm.bp and
gen_headers_arm64.bp with all of these changes.

Bug: 178500203
Change-Id: Ie3b8c36b7d60bd950c28bac566e04f43de78cf98
Signed-off-by: Mohammed Athar <athar@codeaurora.org>
Signed-off-by: Shadab Naseem <snaseem@codeaurora.org>
Signed-off-by: Eruvaram Kumar Raja Reddy <erajared@codeaurora.org>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-08-19 16:37:03 +03:00
Cyber Knight
624184f536 Revert "headers_lib: rename Android.bp"
- This reverts commit 962e423125 as the Android.bp file is used in CLO to generate headers.

Change-Id: I560fba7a3059568b628a6f35741472a9044c42c3
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-08-19 16:36:06 +03:00
Prateek Sood
962e423125 headers_lib: rename Android.bp
Renaming Android.bp to Androidbp is done to avoid compilation
failure reported for SA* targets.

Ignore tracking of Android.bp link file.

Change-Id: Ie36f8bf5e0ac011e5f82e4cbd3c2cc7d6bf14070
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
2020-02-21 06:32:58 -08:00
Prateek Sood
fc100c829b kernel_headers: kernel headers library package
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>
2020-01-22 21:52:11 +05:30
David Ng
0b74e100d6 Android.bp: Initial header export bp for Android (qseecom only)
Initial Android blueprint makefile for kernel header export;
qseecom.h UAPI for now.

Change-Id: Ia0af480167e19d099789548a2229b46abbd977f8
Signed-off-by: David Ng <dave@codeaurora.org>
2018-05-03 19:43:12 -07:00