use prebuilt kernel
authorStricted <info@stricted.net>
Wed, 18 Apr 2018 12:40:56 +0000 (14:40 +0200)
committerStricted <info@stricted.net>
Wed, 18 Apr 2018 12:40:56 +0000 (14:40 +0200)
Change-Id: Ia059527207c5601a8c83b0359552c478fdb2a9d1

BoardConfig.mk
kernel [new file with mode: 0644]
omni_ttab.mk

index afb19dca82dc961cdd81978e56b3bc13a6b18535..06cf016f399df9a8d3565b1ac27e33e3c92b3b4c 100644 (file)
@@ -17,15 +17,15 @@ TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
 TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp
 
 # Kernel
-#TARGET_PREBUILT_KERNEL := device/alcatel/ttab/kernel
-TARGET_KERNEL_CONFIG := ttab_defconfig
-TARGET_KERNEL_SOURCE := kernel/alcatel/ttab
-BOARD_KERNEL_IMAGE_NAME := zImage
+TARGET_PREBUILT_KERNEL := device/alcatel/ttab/kernel
+#TARGET_KERNEL_CONFIG := ttab_defconfig
+#TARGET_KERNEL_SOURCE := kernel/alcatel/ttab
+#BOARD_KERNEL_IMAGE_NAME := zImage
 BOARD_KERNEL_CMDLINE := androidboot.selinux=permissive
 BOARD_KERNEL_BASE := 0x80000000
 BOARD_KERNEL_PAGESIZE := 2048
 BOARD_CUSTOM_BOOTIMG_MK := device/alcatel/ttab/mkbootimg.mk
-BOARD_MKBOOTIMG_ARGS := --cmdline "$(BOARD_KERNEL_CMDLINE)" --base 0x80000000 --pagesize 2048 --kernel_offset 0x00008000 --ramdisk_offset 0x04000000 --second_offset 0x00f00000 --tags_offset 0x00000100 --board vC1O-0
+BOARD_MKBOOTIMG_ARGS := --cmdline "$(BOARD_KERNEL_CMDLINE)" --base 0x80000000 --pagesize 2048 --kernel_offset 0x00008000 --ramdisk_offset 0x04000000 --second_offset 0x00f00000 --tags_offset 0x00000100 --board vC29-0
 
 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16777216
 BOARD_FLASH_BLOCK_SIZE := 131072
diff --git a/kernel b/kernel
new file mode 100644 (file)
index 0000000..9d36ecc
Binary files /dev/null and b/kernel differ
index 4c4e27fcfb44a6299d03f62404920a7533432c8e..7d38a068285e624848d939840fddc33f684b8312 100644 (file)
@@ -1,5 +1,8 @@
 PRODUCT_RELEASE_NAME := ttab
 
+PRODUCT_COPY_FILES += \
+    device/alcatel/ttab/kernel:kernel
+
 # Inherit device configuration
 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)