Debugfs is not needed on user builds, so disabling
same at compile time for ARM 64.
Change-Id: If6708c9de060584ebcba4cac9bad8e85d6a5ab7f
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
Modified the kernel headers recipe to stop for some errors.
Bug: 148564723
Change-Id: Ia0849c59a87881c4f167c9fc4829b1e1721e3d90
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
This file only support arm64 kernel compile currently, now we need
to supprot arm kenrel compile, so add this change.
Change-Id: I171ead43c9450886d9e096fc58a2729dee3439a1
Signed-off-by: lijuang <lijuang@codeaurora.org>
With Boot image header version 2, dtb is no longer appended to
kernel image. dtb.img is generated separately. So concatenate RTIC
dtb to the dtb.img for the bootloader to read the rtic dtb and share
the measurement parameter to hypervisor. Make sure that the RTIC DTB
rule added regardless of the presence of rtic_mp.dts. Instead, check
this during the rule execution (never fail if RTIC DTS is missing).
Change-Id: Id2d86aa44ae04ef82d3808f40e5f1187a8ec9735
Signed-off-by: Amareswar Reddy Valasa <avalasa@codeaurora.org>
Add TARGET_PREBUILT_INT_KERNEL_IMAGE to support compile modules to
dependence on Image.
Change-Id: If8f5825c3028fc8cd304cf745bcf68a6b2d28ec4
Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
Look for vendor under arch/arm64/boot/dts before creating a dtb.img.
The target maybe doesn't have vendor folder.
Change-Id: I872f6f7f2d4c7f46c5d871d129403c733896832b
Signed-off-by: lijuang <lijuang@codeaurora.org>
The dtb.img is made by concatenating all the compiled dtbs
after the kernel is compiled. This dtb.img is then added to be
a part of the boot.img.
Change-Id: I7667d1c3118962bbc709a362a2b9a2b6419dede4
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
Switch to using make wildcard command instead of invoking
shell for ls to get file listing. This speeds up
Android build processing time.
Change-Id: If21f95cc32c87547e3c7c9ece19c980473f1e413
Signed-off-by: David Ng <dave@codeaurora.org>
TARGET_TOOLS_PREFIX is a new variable introduced in build environment
which keeps the location of the toolchain from the android source, which
was working for 64bit but giving unwind warnings for 32 bit targets.
[ 7.353691] VFS: Mounted root (ext4 filesystem) readonly on device 253:0.
[ 7.363324] Freeing unused kernel memory: 2048K
[ 7.375778] unwind: Unknown symbol address c010130c
[ 7.375802] unwind: Index not found c010130c
[ 7.379466] unwind: Unknown symbol address c010130c
[ 7.383992] unwind: Index not found c010130c
[ 7.388578] unwind: Unknown symbol address c010130c
[ 7.393096] unwind: Index not found c010130c
[ 7.397690] unwind: Unknown symbol address c010130c
[ 7.402227] unwind: Index not found c010130c
[ 7.406806] unwind: Unknown symbol address c010130c
[ 7.411331] unwind: Index not found c010130c
To solve this let's make the toolchain path prefix change in the target
BoardConfig file as per architecture(32/64) basis and avoid making change
in kernel.
Change-Id: I6ca9642aeabbba1b892e169816f3d6d260bd50d5
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
kerneltags and kernelconfig are phony targets, so mark them
with .PHONY.
Change-Id: If2b6d9c20f8954f217c68dd8dec2360592f74492
Signed-off-by: Bruce Levy <blevy@codeaurora.org>
ANDROID_BUILD_TOP variable is deprecated and thus all paths are assumed
to be relative to the top directory. However, this is causing problem
when some of the paths are constructed in the Android build system and
used in the non-Android makefiles that are usually executed NOT at the
top directory but at a sub directory using -C option. As a result, the
relative path from the Android build system become invalid in the
non-Android makefiles.
In order to overcome the restriction, ANDROID_BUILD_TOP is manually
constructed when invoking the non-Android makefiles by using $$(pwd).
The non-Android makefiles are expected to construct the absolute path
by prepending ANDROID_BUILD_TOP to any path that came from the Android
build system.
Change-Id: Ia2e380cf329f56c8d36ad8dbde90d6a655f9509a
Signed-off-by: Divya Sharma <divyash@codeaurora.org>
Signed-off-by: Bruce Levy <blevy@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
The target configuration searches for defconfig under
configs/vendor/ by default. Hence, change the search
path for the same for kernel configuration.
Change-Id: Ica83363fc6783eb1ce2d46acfd755a1915e1d113
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Currently, the modules that are needed to be used should be
explicitly mentioned in the Android's target configuration
to copy the modules into vendor partition for the users to
access/insert it. Hence, auto add all the modules that are
generated as a part of kernel compilation to the vendor partition.
Change-Id: I2b59a2e3c08a5be39b0eeca377cd945beaf4a792
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Update the LLVM path due to a change in the compiler version.
Change-Id: I7c6c46047b4bb6f4a9e3d49eec1ae252c42fdbd8
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Set LLVM path depending on the configuration done by the build system.
Change-Id: Ib4ebf15c17c2febfee44404df0d2582625f11516
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Add necessary changes to be able to compile the Kernel
with LLVM.
Change-Id: I147a7abc29ec66828e9626a74125d391f8aaa329
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
The makefile invoked by the Android build system is now added to the
kernel tree.
Change-Id: I0bb97c6ec8f3dedf6da0247e23e5a5419e859a69
Signed-off-by: Pothuluraiah Usarthi <pusarthi@codeaurora.org>