summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-16kernel_definitions: Skip targets using prebuilt kerneltachibana-mr1Mesquita
Change-Id: I6c2867aee1d2ef6545f671daf04dc45d6d1595d4 Signed-off-by: Mesquita <mesquita@aospa.co>
2022-09-02kernel_definitions: Switch host binutils to LLVMtachibanaalk3pInjection
Change-Id: Ib55aa1c516048c78491dd026fa07d73cec98c18d
2022-09-02Revert "kernelscripts: define CC variable."alk3pInjection
* Pass both variables simultaneously instead. This reverts commit 63901b118b1bf8bd37f14db4c6e649043b7b31ae. Change-Id: Ibfee7c6590e3154f4582bc86467049beb79993df
2022-09-02kernel_definitions: Declare PATH for clang buildAdithya R
* 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>
2022-09-02kernel_definitions: Do not duplicate arguments in $(cc)Adithya R
* both cc and real_cc are passed everywhere so it makes no sense to duplicate these parameters in both places Change-Id: Ica40da3308a0c338eb70fd363b326b70c75a07b9
2022-02-20kernel_definitions: Remove duplicate generate_defconfig command.HEADsugisawaAdithya R
* its already present in gki guard configuration, so this one is redundant and breaks build in some cases Change-Id: I97480ea18c30a4fae1cc6e298f3333b9fa9a6321
2022-01-13kernel/build: Compile kernel as user always.Alexander Koskovich
* We should never want DebugFS brought in, and we force user for other kernel drivers like QCACLD. Change-Id: I7f77095379678f8b975fc6da106846431aa2bdb8
2022-01-13kernel/build: Fix path overrides.Alexander Koskovich
* GKI/QGKI now succeed in building their defconfigs from the fragments. Change-Id: I35ad362313cee5b8bcb34c3e1ca76410204b2b95
2022-01-13kernelscripts: Guard DTBO support with BOARD_KERNEL_SEPARATED_DTBO.Vishalcj17
Change-Id: I03307fd8e137b2a9960a05344b42967d0a9dd1d5
2022-01-13kernelscripts: Fix module build support.Anay Wadhera
Change-Id: Iaebe95c89bad68e69a7cf79fe9faa7b3a84149c4
2022-01-13kernelscripts: define CC variable.Jake Weinstein
* 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
2022-01-13kernelscripts: Define 32-bit Cross Compile path.Jake Weinstein
* Needed for VDSO on ARM64 Change-Id: I879a527410bd808a2ec810014805751eb01ea021
2022-01-13kernelscripts: Switch to better way of checking for dtbo files.Anay Wadhera
Change-Id: I5f589d90b6d516926d9c31efbd10de446761c0ac
2022-01-13buildkernel: Only copy DTBO if they actually exist.Alexander Koskovich
Change-Id: I1f12634aa806c6f93d9819926b2ddc0aed050cf6
2022-01-13kernelscripts: Support building kernels without module support.Anay Wadhera
Change-Id: Ice147125fea1658e4c7bb9b5df15cfc6df145afe
2022-01-13kernelscripts: Fix GKI config generation and fix unstripped module location.Anay Wadhera
Change-Id: I01fcc121905c2c96f9b0e6e0494d98f616f5ccab
2022-01-13kernel_definitions: Fix depmod after no longer being hardcoded.Alexander Koskovich
* "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
2022-01-13defs: Remove non-host header path from host includes.Evan Anderson
* HOSTCFLAGS should not include a path to headers from the target kernel source Change-Id: I919081c6b6f8ce36b9c17f0df8b4e5a41fc1442e
2022-01-13kernelscripts: Make DTB/DTBO building vendor-agnostic.Jake Weinstein
* No need to hardcode qcom without a way to change it. Change-Id: Ifd69ca2b58bf708ec590615557bfd615acf3e5ef
2022-01-13kernel_definitions: Only use vendor dir for defconfigs if target defconfig ↵Jake Weinstein
is there. Change-Id: I24bbcfb50376a1f81ba2aab02e1fa1e9422d2dcb
2022-01-13kernel_definitions: Only use vendor DTB directory if exists.Alexander Koskovich
Change-Id: I8bf4b0ed05524fb315f8576e85ea30f03f40361f
2022-01-13kernel_definitions: Account for all possible DTB paths.Anay Wadhera
Change-Id: Idb915d2ca866c2445efeb90400f5d29593097004
2022-01-13kernelscripts: Define TARGET_KERNEL_APPEND_DTB if BOARD_KERNEL_IMAGE_NAME := ↵Jake Weinstein
Image.gz-dtb. * No reason to make this incompatible with literally every other ROM. Change-Id: I2742816adf1ccdf7975dd23d0e3e76f81dda60d4
2022-01-13kernelscripts: Use TARGET_KERNEL_CONFIG if KERNEL_DEFCONFIG is not defined.Jake Weinstein
* Maintain a list of legacy definitions to make it easier for device maintainers. Change-Id: I85bfa23236661322409bd811f57401849bbe44be
2022-01-13kernel_definitions: Use OUT_DIR for custom out directory detection.StyloGey
* Checking for OUT_DIR_COMMON_BASE is not possible because it is unset by Soong. Change-Id: I384724d8c24a79a18a020f6bd84a53b93a370887
2022-01-13kernelscripts: Ditch UFDT overlay check for all.Jyotiraditya
Change-Id: I4c29cf548f7a5fe4c25c7f73a698bdf1e29a195d
2022-01-13kernel_definitions: Condition DTC location on out directory.Anay Wadhera
Change-Id: I4ab8601daaaca0fcf04de92444433580c2571bab
2022-01-13kernelscripts: Remove extra definitions in DTC_EXT.Anay Wadhera
* 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
2022-01-13kernel_definitions: Point to AOSP build tools.Alexander Koskovich
Change-Id: Ia323d40e867f3afe7adc6c527d608a1730dde5b6
2021-06-08Merge b9abda3015969430b55b7b84021a36178a116376 on remote branchLinux Build Service Account
Change-Id: I421ae81bf4903979e4b42500987666a4a1d3edf2
2021-05-24kernelscripts: Add defconfig support for 32 bit targetsNagireddy Annem
Add support to generate defconfig for 32 bit targets. Change-Id: I55c560a97e249d1bb0f0e7c80055545d4ac795ca
2021-04-22Merge f72a723991abf8dea65df17569b1361e6b323ff2 on remote branchLinux Build Service Account
Change-Id: I5deaf6c110d3a6b97bb9434f101472974193e452
2021-04-12Merge "kernelscripts: Use the toybox tool for nproc utility"qctecmdr
2021-04-09Merge 16a93690a2d8ddd236afc843f575c0b9c299e492 on remote branchLinux Build Service Account
Change-Id: I8d3f55a56d092e3bab88b6be50862acfaf5ea648
2021-03-23kernel/build: Optimize no-change incremental kernel buildJeevan Shriram
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
2021-03-23kernelscripts: Use the toybox tool for nproc utilityShadab Naseem
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>
2021-03-03Merge 9f2985b5d79297ea4e29716b7fff37ef4c4a4d3d on remote branchLinux Build Service Account
Change-Id: I443376d2cad40038bb7deebabdc21f2e2682385d
2021-02-23kernelscripts: Add qca_cld3_qca6390 driver in module blocklistMohammed Siddiq
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>
2021-02-17kernelscripts: Add qca_cld3_qca6390 driver in module blocklistMohammed Siddiq
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>
2021-01-23Merge 883cc45323a269456c13e14e42a46f41d586610d on remote branchLinux Build Service Account
Change-Id: I65c0cd6d437f2f6818f2d537a26fee827f42e595
2021-01-19Revert "kernelscripts: Add support for modules_prepare for modules"Yogesh Lal
As GKI and QGKI scratch build is broken. This reverts commit f90523ca9bf80e74181aa18201caa50d516c4de6. Change-Id: I565fc0e02ee1fc239357c8c204ddc153a6099ca1
2021-01-16Merge "kernelscripts: Add support for modules_prepare for modules"qctecmdr
2021-01-13Merge 816f5cc2bc8c3be3f38c0d13f6ecf8f84b8507af on remote branchLinux Build Service Account
Change-Id: I392b30d88570983baa778ae820fb7b1325609a3e
2021-01-06kernel_definitions: Add kernel dependency for ramdisk modulesRaghavendra Rao Ananta
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>
2020-12-16kernelscripts: Add support for modules_prepare for modulesJeevan Shriram
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
2020-11-03kernel_definitions.mk: Remove setting of BOARD_KERNEL_BINARIESRaghavendra Rao Ananta
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>
2020-10-22Merge ae347cd1f51412389d217558af10918ecae2dfa4 on remote branchLinux Build Service Account
Change-Id: I56d39c166920db67a6b605760158431bee321ac3
2020-10-07kernelscripts: Remove wlan driver from module blocklistSandeep Singh
Remove wlan driver from module blocklist, so that it gets loaded by vendor_modprobe.sh script. Change-Id: I6b90072767e3737d6e03e5b4a0bc53d42865956f Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2020-09-08Merge fcaa774961b2045893deb083137f995e176eec1c on remote branchLinux Build Service Account
Change-Id: I21c8723f383a1afef23206ea5e9590072ba52573
2020-08-21kernel_definitions: Pass TARGET_BUILD_VARIANT to generate_defconfig.shRaghavendra Rao Ananta
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>