Tools used when generating headers_install.sh are run from within a
sandbox. The location of unifdef changes from headers_install.sh
generation time to usage time.
Instead, allow calling headers_install.py to specify the location of
unifdef with LOC_UNIFDEF environment variable. If this environment
variable is unset, unifdef is assumed to live in same directory as
generated headers_install.sh script. This assumption allows smooth
transition for users of headers_install.sh since main build is not
broken by this change.
Change-Id: Id23865dd3e25aa179e0bc6d3d6c549e0b93a6717
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
qti_kernel_headers library is not applicable in split SI system and can
be cleaned up.
Change-Id: Ia521c6cd206f62f61e3faa224c84aafe00279e0d
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This change is foundational for converting many modules that depend on kernel
headers built via the platform build system.
Bug: 143567008
Change-Id: I8c2e33aa0b28e2ec54d924b9650c302691f9c8e8
[rishabhb@codeaurora.org: add logic to iterate over mandatory headers
and only generate these headers if not already present in
usr/include/asm. Also export techpack uapi headers.]
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
Create a header library which export kernel headers.
These headers are needed by modules and userspace libraries.
Change-Id: I0908e2e02ba1edfb569c5abcd0d5e1df72a40324
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>