Age | Commit message (Collapse) | Author |
|
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>
|
|
Add new blocklist file for holi target.
Change-Id: I662cbf0a01d4d0eb5d8cae5db0af4874a605ff3e
Signed-off-by: Ashish Bhimanpalliwar <abhiman@codeaurora.org>
|
|
Change-Id: I983a6320613fca5cb86b001feb533b5ca4014244
|
|
|
|
This reverts commit 88d1a139bda8101dce3f4cd3f95e6aeab7639296.
Change-Id: I08cc78b4d86a32809eb6c0e5604e8b03d028d379
|
|
Modprobe doesn't differenciate between '-' and '_'. That is, the
output of 'modprobe -l' returns module names with '_' even though
the .ko file has '-' in the name. Since we compare this output
with the file name to check if the file is actually blocklisted in
vendor_modprobe script, we fail. Hence, convert all the module names in
the blocklist file to '_'. This change won't affect the modprobe -b.
Change-Id: Ia5e6910b533d4aa491a96b3f00bf1017780502c5
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
|
|
As modprobe utility now uses modules.blocklist file to find the list of
modules not to insert into the kernel, rename the modules.blacklist file
to modules.blocklist. Replace all blacklist to blocklist in the
modules.blocklist file.
Change-Id: I9205b4f41149c60a8c2d06e329d34d61f46780a1
Signed-off-by: Prakruthi Deepak Heragu <pheragu@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>
|
|
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>
|
|
Change-Id: I86aae1461d8172ba5923a3144d2a3285cadb8ea5
|
|
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>
|
|
Change-Id: Ib2db4b13c026ae4e7998fb742680ce473f77e87e
|
|
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
|
|
|
|
Add the rcutorture and locktorture test cases to Lahaina's
blacklist of modules as we don't want them to get loaded
by default during boot.
Change-Id: Ib3a95dfeeb86b402c728441639036ca0c5cd42e7
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
|
|
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>
|
|
Modprobe converts every hyphen in the name of a module to underscore.
Debugging such modules with names having hyphen in t32 simulator, gave
an error of module not found. So, rename all modules in unstripped folder
by replacing all hyphens in the name to underscores.
Change-Id: I4dd84ae203d6e2d8b1047da85fd491f63620b019
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
|
|
Currently, the build script installs the modules by stripping off
the symbol information, which further then gets placed on the target.
However, this symbol information is really useful for performing
postmortem analysis. Hence, install a separate copy of unstripped
modules for this purpose.
Change-Id: I415fd65d125d91bd054b748651773e2079d9fe50
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
|
|
Change-Id: I15441b5a0bd78fa117b884dd84a5da2ed82db259
|
|
This reverts commit e48d9d865ed846b2834231823efbd6b9c02722d3.
Change-Id: I8bd71d15faa7b48eb8d1516f282f1133d5a4234c
|
|
|
|
Add modules of debug build into blacklist file.
Change-Id: I952884ade6d82a153146d057131d58f3ee329f54
|
|
Add qca_cld3_wlan.ko to Lahaina modules.blacklist since WLAN init
sequence needs cold boot calibration to complete before this module
insmod.
Change-Id: I9182b648a305a7ee34e27cafaf199b02b73e27c6
|
|
|
|
unavailable"
|
|
In the case of incremental builds it's possible that the
$KERNEL_MODULES_OUT directory contains stale .ko files from
previous builds. This would inturn get packaged into the
final image, which is incorrect. Hence, make sure to clean
and start with a fresh directory to stage the modules.
Change-Id: I7c22527baf9d181f1aa88a12fd8123ec35342fda
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
|
|
In the case of incremental builds it's possible that the
$KERNEL_MODULES_OUT directory contains stale .ko files from
previous builds. This would inturn get packaged into the
final image, which is incorrect. Hence, make sure to clean
and start with a fresh directory to stage the modules.
Change-Id: I7c22527baf9d181f1aa88a12fd8123ec35342fda
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>
|
|
kernel sha is no more being used for storing the prebuilt images.
Change-Id: I2afb2e72b591d480ba0436929f7a2a3e6848801b
|
|
Change-Id: I0e02b3def3272b488cb37d0342065e2c19964a42
|
|
|
|
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>
|
|
Update the blacklist of modules as of 5.4.5 upmerge. Also,
remove the storage specific modules from the blacklist as the
SD card driver depends on them.
Change-Id: Ieaadaf5935319a535fd58fc337785cb1a9c9d3b3
|
|
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
|
|
|
|
|