Age | Commit message (Collapse) | Author |
|
Change-Id: I218adcd6cc4bcdc858a7d38f6f8264a487dc8461
|
|
Change-Id: I4c28a2bbb4fbde62321e7a43a6f76712d8a0dbcc
|
|
- This patch is heavily inspired by [1].
- It was made to facilitate support for devices that build the kernel with GCC.
[1]: https://gerrit.aospa.co/c/AOSPA/android_vendor_pa/+/8673
Also squashes:
Author: Mashopy <eliasgheeraert@gmail.com>
Date: Mon Apr 24 18:40:07 2023 +0200
kernelscript: Enforce KERNEL_CROSS_COMPILE to aarch64-linux-gnu- and properly support vdso32
KERNEL_CROSS_COMPILE should not been set to arm-eabi- since arm64 kernels expect an aarch64 GNU binary for CROSS_COMPILER.
CROSS_COMPILE_ARM32 is currently used by Linux kernels who have an outdated vdso backport like 4.9, but is unused on
Linux kernel 4.19 and newer since it got renamed to CROSS_COMPILE_COMPAT during vdso32 bringup.
Add CROSS_COMPILE_COMPAT variable for properly support vdso32 on these newer Linux kernels.
This also fix an issue where some CC related features like SCS, STACKPROTECTOR, INIT_STACK_ZERO and KASAN weren't available
on some kernels despite that some of them depends over clang binary and not GNU binary.
Also make sure llvm-objcopy is used as some kernels try to look for aarch64-linux-gnu-objcopy and fail to build.
Change-Id: I093a6c7f798c0d111bd04d1cf089c4d5bc9a3028
Change-Id: Icaa9251a8e151d92f84fa10fa14b6b7becfd8927
|
|
Fixes: "lz4" is not allowed to be used.
Also squashes:
Author: Bruno Martins <bgcngm@gmail.com>
Date: Tue Sep 19 15:59:00 2023 +0100
kernel: Use pahole from Google prebuilts
This fixes the following warnings:
13:04:54 Disallowed PATH tool "pahole" used: []string{"pahole", "--version"}
13:04:54 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
"pahole" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
Change-Id: Ice2a3753301a7b7782037fd35544e2831b258650
Test: breakfast tangorpro && m bootimage
Change-Id: I62cfe131f457117cb3745b91f5e43c085e87b611
|
|
Don't hardcode dtb path.
ls kernel/msm-4.19/arch/arm64/boot/dts/vendor
19805 19811 19821 19855 20801 20809 20813 20828 bindings Makefile qcom
Signed-off-by: Yuan Si <do4suki@gmail.com>
Change-Id: I1fa7270c4d32f2dfa4dc0e4ee3fc3e4b02645a6c
|
|
Change-Id: I6c2867aee1d2ef6545f671daf04dc45d6d1595d4
Signed-off-by: Mesquita <mesquita@aospa.co>
|
|
Change-Id: Ib55aa1c516048c78491dd026fa07d73cec98c18d
|
|
* Pass both variables simultaneously instead.
This reverts commit 63901b118b1bf8bd37f14db4c6e649043b7b31ae.
Change-Id: Ibfee7c6590e3154f4582bc86467049beb79993df
|
|
* rather than polluting argument list with the full
path of every binary
* also set LLVM=1 for 4.19 and above kernels
Change-Id: Id58568d6f055368eefa97f7c01d45d339755cecb
Signed-off-by: alk3pInjection <webmaster@raspii.tech>
|
|
* both cc and real_cc are passed everywhere so it makes
no sense to duplicate these parameters in both places
Change-Id: Ica40da3308a0c338eb70fd363b326b70c75a07b9
|
|
* 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: I5f589d90b6d516926d9c31efbd10de446761c0ac
|
|
Change-Id: I1f12634aa806c6f93d9819926b2ddc0aed050cf6
|
|
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
|
|
Image.gz-dtb.
* No reason to make this incompatible with literally
every other ROM.
Change-Id: I2742816adf1ccdf7975dd23d0e3e76f81dda60d4
|
|
* 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
|
|
Change-Id: I421ae81bf4903979e4b42500987666a4a1d3edf2
|
|
Add support to generate defconfig for 32 bit targets.
Change-Id: I55c560a97e249d1bb0f0e7c80055545d4ac795ca
|
|
Change-Id: I5deaf6c110d3a6b97bb9434f101472974193e452
|
|
|
|
Change-Id: I8d3f55a56d092e3bab88b6be50862acfaf5ea648
|
|
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
|
|
The nproc host tools to know the number of available cores for building
make was being flagged for Disallowed PATH.
Replace it with the toybox tool utility.
Change-Id: I1117066546bd7b60572bc5321936554862a8b3f9
Signed-off-by: Shadab Naseem <snaseem@codeaurora.org>
|
|
Change-Id: I443376d2cad40038bb7deebabdc21f2e2682385d
|
|
Add qca_cld3_qca6390 wlan driver in module blocklist.
The driver for qca6490 will be loaded via init.target.rc
script hence added in module blocklist to avoid the loading
via vendor_modprobe script.
Change-Id: I2fe8df8d4f90a81d8c4b93c4df4e5197f8a292e0
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
|
|
Add qca_cld3_qca6390 wlan driver in module blocklist.
The driver for qca6490 will be loaded via init.target.rc
script hence added in module blocklist to avoid the loading
via vendor_modprobe script.
Change-Id: I2fe8df8d4f90a81d8c4b93c4df4e5197f8a292e0
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
|
|
Change-Id: I65c0cd6d437f2f6818f2d537a26fee827f42e595
|
|
As GKI and QGKI scratch build is broken.
This reverts commit f90523ca9bf80e74181aa18201caa50d516c4de6.
Change-Id: I565fc0e02ee1fc239357c8c204ddc153a6099ca1
|
|
|
|
Change-Id: I392b30d88570983baa778ae820fb7b1325609a3e
|
|
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>
|
|
Add support for modules_prepare for preparing kernel for compiling
external modules in parallel. This helps in saving complete android
build time of 10-15 minutes approximately as external modules are
compiled early on without waiting for the kernel image to compile first.
Change-Id: Ibacb40fc9e22725366f39e3d79f474db336768b1
|