aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-04-09 22:34:47 +0200
committerJoonas Kylmälä <joonas.kylmala@iki.fi>2019-06-12 16:49:32 -0400
commita184e9093d0c169ab313b8551fc243c8da4d6136 (patch)
tree768716c3f683b77875e4e221fcb9634cead3a0ba
parentc2249cfd3ddb1c907c3b446235844f7a5186420c (diff)
downloaddevice_samsung_i9300-a184e9093d0c169ab313b8551fc243c8da4d6136.tar.gz
device_samsung_i9300-a184e9093d0c169ab313b8551fc243c8da4d6136.tar.bz2
device_samsung_i9300-a184e9093d0c169ab313b8551fc243c8da4d6136.zip
Build the kenrel
See vendor/lineage/build/tasks/kernel.mk for the properties documentation. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--BoardConfig.mk5
-rw-r--r--device.mk1
2 files changed, 5 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 0cd9613..970ee54 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -26,6 +26,11 @@ TARGET_BOOTLOADER_BOARD_NAME := smdk4x12
TARGET_NO_BOOTLOADER := true
+# Kernel
+TARGET_KERNEL_SOURCE := kernel/replicant/linux
+TARGET_KERNEL_CONFIG := replicant_i9305_defconfig
+BOARD_KERNEL_IMAGE_NAME := zImage-dtb
+
TARGET_RECOVERY_FSTAB := device/samsung/i9305/fstab.smdk4x12
TARGET_USERIMAGES_USE_EXT4 := true
diff --git a/device.mk b/device.mk
index 406d88d..9ca353e 100644
--- a/device.mk
+++ b/device.mk
@@ -96,7 +96,6 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
device/samsung/i9305/fstab.smdk4x12:root/fstab.smdk4x12 \
device/samsung/i9305/init.smdk4x12.rc:root/init.smdk4x12.rc \
- device/samsung/i9305-kernel/Image.gz-dtb:kernel \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.software.app_widgets.xml:system/etc/permissions/android.software.app_widgets.xml \
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \