Commit Graph

7 Commits

Author SHA1 Message Date
Sebastiano Barezzi
bf4fcf74d0 Android.bp: Namespace it
Change-Id: I9f01f49fa1197790d5eeb63b12be870417c6b79d
2023-03-01 19:39:28 +01:00
Prateek Sood
fdd2217ee8 Revert "headers_lib: rename Android.bp"
This reverts commit 3eef29d2fd23706dd90f1c148993d0f59ab3d8fc.
2023-03-01 19:39:28 +01:00
Prateek Sood
388f01fcd0 headers_lib: rename Android.bp
Rename Android.bp to Androidbp. This 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>
Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org>
2022-11-20 19:48:48 +02:00
Bill Peckham
6d29c9240c 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: Srinivasarao P <spathi@codeaurora.org>
2021-06-25 00:24:52 -07:00
Justin DeMartino
cc39738286 Example kernel headers header_lib package
This change is foundational for converting many modules that depend on kernel
headers built via the platform build system.

Bug: 143567008
Change-Id: I998890ed427104ed835000e421756981e0f24ab5
[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>
2020-01-18 11:53:58 -08:00
Rishabh Bhatnagar
6b33ac49f6 kernel: Create and export kernel headers
Create a header library which export kernel headers.
These headers are needed by modules and userspace libraries.

Change-Id: I61cb78f392412edd8d197fa01a7d50e3d02b8024
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
2019-11-15 11:16:07 -08:00
David Ng
8b728ebd10 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>
2019-03-28 17:38:02 -07:00