aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-08-06 17:02:34 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-02-10 18:10:06 +0100
commitfb2330e5138834f11daace985709f9c264a155cb (patch)
treebd01f763e514403b0e473558b2007f60099e5c4b
parent9529fd1ddf49da772b8fe0c6f8aa3abbb4c9040b (diff)
downloaddevice_samsung_i9300-fb2330e5138834f11daace985709f9c264a155cb.tar.gz
device_samsung_i9300-fb2330e5138834f11daace985709f9c264a155cb.tar.bz2
device_samsung_i9300-fb2330e5138834f11daace985709f9c264a155cb.zip
Kernel: use unified kenrel configuration
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--BoardConfig.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 3d4d582..e631a39 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -29,9 +29,17 @@ TARGET_NO_BOOTLOADER := true
BOARD_VENDOR := samsung
# Kernel
+# To append the dtb to the zImage:
+# - Use BOARD_DTB_IMAGE_NAME with the right dtb
+# - Make sure that your kernel source doesn't have
+# any Android patches that would add the zImage-dtb
+# target.
+# The vendor/lineage/build/tasks/kernel.mk file
+# was modified to add support for that feature.
TARGET_KERNEL_SOURCE := kernel/replicant/linux
-TARGET_KERNEL_CONFIG := replicant_i9305_defconfig
+TARGET_KERNEL_CONFIG := replicant_defconfig
BOARD_KERNEL_IMAGE_NAME := zImage-dtb
+BOARD_DTB_IMAGE_NAME := exynos4412-i9305.dtb
# Recover
TARGET_RECOVERY_FSTAB := device/samsung/i9305/fstab.smdk4x12