Age | Commit message (Collapse) | Author |
|
* its already present in gki guard configuration, so this one
is redundant and breaks build in some cases
Change-Id: I97480ea18c30a4fae1cc6e298f3333b9fa9a6321
|
|
* We should never want DebugFS brought in, and we
force user for other kernel drivers like QCACLD.
Change-Id: I7f77095379678f8b975fc6da106846431aa2bdb8
|
|
* GKI/QGKI now succeed in building their defconfigs
from the fragments.
Change-Id: I35ad362313cee5b8bcb34c3e1ca76410204b2b95
|
|
Change-Id: I03307fd8e137b2a9960a05344b42967d0a9dd1d5
|
|
Change-Id: Iaebe95c89bad68e69a7cf79fe9faa7b3a84149c4
|
|
* CAF's script expects this kernel commit to be present:
"scripts: gcc-wrapper: Use wrapper to check compiler warnings".
In some cases, it is reverted or not present, which causes
compile to try to use GCC 4.9 unsuccessfully without this commit.
* Since we build with -Werror anyway, this commit is safe because
gcc-wrapper is redundant. Google also reverts the same CAF commit.
* Vishalcj17 : Adapt for lahaina scripts.
Change-Id: Ie172be870737b7960eb3fc595f51e31e753992ed
|
|
* Needed for VDSO on ARM64
Change-Id: I879a527410bd808a2ec810014805751eb01ea021
|
|
Change-Id: Ice147125fea1658e4c7bb9b5df15cfc6df145afe
|
|
Change-Id: I01fcc121905c2c96f9b0e6e0494d98f616f5ccab
|
|
* "depmod" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/Makefile?h=linux-4.19.y&id=ccf4f2933df8bf3b7a070bfbb7b99fbff9fa63cf
Change-Id: I5595797a53bf5ef3782674a6a4f1b9ec7acf4656
|
|
* HOSTCFLAGS should not include a path to headers from the target kernel source
Change-Id: I919081c6b6f8ce36b9c17f0df8b4e5a41fc1442e
|
|
* No need to hardcode qcom without a way to change it.
Change-Id: Ifd69ca2b58bf708ec590615557bfd615acf3e5ef
|
|
is there.
Change-Id: I24bbcfb50376a1f81ba2aab02e1fa1e9422d2dcb
|
|
Change-Id: I8bf4b0ed05524fb315f8576e85ea30f03f40361f
|
|
Change-Id: Idb915d2ca866c2445efeb90400f5d29593097004
|
|
* Maintain a list of legacy definitions to make it
easier for device maintainers.
Change-Id: I85bfa23236661322409bd811f57401849bbe44be
|
|
* Checking for OUT_DIR_COMMON_BASE is not possible
because it is unset by Soong.
Change-Id: I384724d8c24a79a18a020f6bd84a53b93a370887
|
|
Change-Id: I4c29cf548f7a5fe4c25c7f73a698bdf1e29a195d
|
|
Change-Id: I4ab8601daaaca0fcf04de92444433580c2571bab
|
|
* This breaks compile if the builder has specified an outdir other than out/
* This was likely a result of trying to get an absolute path for outdirs == out/ but there are better ways to do this
Change-Id: Ie4df500db3ad8d3233062dfbde5f648428e67553
|
|
Change-Id: Ia323d40e867f3afe7adc6c527d608a1730dde5b6
|
|
Add support to generate defconfig for 32 bit targets.
Change-Id: I55c560a97e249d1bb0f0e7c80055545d4ac795ca
|
|
1. Save and revert the timestamp of KERNEL_USR to the creation of kheaders
file to avoid re-compilation of external/vendor modules during
no-operation incremental build due to dependency on KERNEL_USR rule.
2.Avoid deletion and re-creation of the symlink in the KERNEL_OUT rule.
3. De-couple KERNEL_USR timestamp from KERNEL_OUT and KENREL_HEADERS_INSTALL
target rules.
Change-Id: Iea00cdd05477e767bfcab2eb489c4c70e65907c2
|
|
Add kernel build dependency for ramdisk modules for the ramdisk
packaging to wait until the kernel is built completely.
Change-Id: I210793b6b4a64b658db2f23cb6a986dee50427ad
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
|
|
Remove setting of BOARD_KERNEL_BINARIES as Android-S doesn't allow
seeting this 'make' target from kernel_definitions.mk.
Change-Id: I394bc83a3f13663afc69422ae77d1133e2f4e2eb
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
|
|
generate_defconfig.sh uses the TARGET_BUILD_VARIANT env variable to
determine if DEBUG_FS has to be enabled or not. Hence, explicitly
set this in generate_defconfig.sh's environment for it to take
effect.
Change-Id: I927b59971687d74dc41652888399df9ede547d8f
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
|
|
The build system doesn't seem to trigger the target
to build the GKI kernel, thus leading to inconsistent
builds. Hence, add a make target dependency on creating
a GKI_OUT directory to force building GKI kernel.
Change-Id: I58a3c3901de5bc6c67e02d9fc2cfb023b5b43e44
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
|
|
With parallel GKI and QGKI kernel compilations, if GKI build
starts first it needs the ufdt_apply_overlay host tool present.
Hence, add an explicit dependency for the same.
Change-Id: Ibc185d684b1ca3a1923c689e80904a3a5ee9a8cb
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
|
|
For $(PLATFORM)-qgki_defconfig, currently we build GKI and QGKI
kernels in a serial manner. To improve the build time, build the
kernels in parallel. For this, remove the 'make' target dependencies
between the two kernel builds and make sure that the defconfigs
for both the kernels are generated in sequence.
Change-Id: I55a12a5bc0de3c4eca9ba773a5cf20e2b104a0ee
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
|
|
Change-Id: I672b065120d70fdb052e634c4cd837e5afe13f51
|
|
|
|
For the sake of GKI compliance testing, QGKI and GKI should be sharing
the same vendor.img and vendor_boot.img. Hence, the idea is to build
the GKI kernel along with QGKI such that the modules could be packaged
accordingly.
Change-Id: I72141017240c68278714bd9f4a9338e6a7fc3dfc
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
|
|
The consolidated config fragment is containing/moving all the
debug options from debug fragment except the ones which
are incurring power and performance penalties.
Change-Id: I12a45228bd86a1d5304e06447f1db019563ba718
Signed-off-by: Bruce Levy <blevy@codeaurora.org>
|
|
This allows seeding of new Android lunch targets to be decoupled
from kernel script updates. Remove this non portable usage and
use TARGET_BOARD_PLATFORM instead which achieves the same result.
Change-Id: I295be4aee000b4532854e15d844fa74423f52335
|
|
Export NM to llvm-nm prebuilts path as $NM is used internally by many of
the kernel scripts. This is especially needed when LTO is enabled as
GCC's nm utility fails to read the object files.
Change-Id: Id56ff5faf9544e4c2547f43cc7a7c380ffb15354
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
|
|
Use binaries from platform toolchain if kernel AOSP toolchains are not
available.
Change-Id: Ia84eed9a82a7a09d00c475313dce16530ce25dd1
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
|
|
|
|
Assign the prebuilt tools to AR and pass it to make as an environment
variable.
Change-Id: I1f374a423c603206fef62b12af95fabd46a661c0
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
|
|
|
|
Use prebuilt make binary in all make commands used in kernel scripts like
generate_defconfig.sh and merge_config.sh scripts.
Change-Id: I53e9e7f67d95278fb581c1d4b5e30ebf2ae8ecc3
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
|
|
upstream plans to deprecate gcc, use clang for HOSTCC.
Bug: 148566020
Change-Id: Iee824bb3c949f142852a34e94b256af03d41c5d8
|
|
|
|
|
|
Typo in headers install forced kernel compilation instead of just
generating kernel headers.
Change-Id: I35d154104c076ed447a864bd7a6c297e20328746
|
|
Android build system restricts usage of make from host machine and use
the binaries from the prebuilt location. Update kernel script to use the
make from prebuilt location.
Change-Id: I3886e73a1a2219449a9fc4abb29ab7208a15eedf
|
|
For compilation, use the linker present in the AOSP LLVM for CFI/LTO
to be enabled.
Change-Id: I7c20cdc6ba3c743c9c111c87ac6af8e50e19261a
|
|
Archive the kernel modules that goes into vendor.img and
vendor-ramdisk.img and assign it to BOARD_VENDOR_KERNEL_MODULE_ARCHIVE
and BOARD_VENDOR_RAMDISK_KERNEL_MODULE_ARCHIVE, respectively.
Change-Id: I903ef51e25ee7ac52efd3279b5d41c13fedf2585
|
|
Use AOSP LLVM for compiling the kernel. If the latest AOSP Clang is not
present, fall back to the AOSP Clang specified in the platform toolchain.
Change-Id: Iffac9dad320dc7f7de30480b2d3ca62bf8f05713
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
|
|
By default, the build.sh provides a mechanism to compile the kernel
as a standalone component, and is not helpful to compile from within
the Android tree. As a result, add the snapshots of kernel_definitions.mk
and buildkernel.sh files to support kernel compilation from within
the Android tree. The snaphot is taken from msm-4.19 branch as of
commit <0780fd437f12d401c> (kernel/build: remove wildcard entry for
updating makefile variable).
Change-Id: I63b3859a9c7d7b5bcf19320fe62235f432f9817a
|