From 3241f73526f12e23036a31d3185838d3b70ec017 Mon Sep 17 00:00:00 2001 From: OldDroid Date: Fri, 2 Jun 2017 08:46:20 +0200 Subject: [PATCH] eva: switch to source kernel building Change-Id: Ibdcfed5b653776648d97958cf4b7c22eca239427 --- BoardConfig.mk | 15 +++++++++------ rootdir/fstab.hi3650 | 4 ++-- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 91f96c6..0ccbb83 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -15,6 +15,9 @@ LOCAL_PATH := device/huawei/eva +# disable Ninja +USE_NINJA=false + # Architecture TARGET_ARCH := arm64 TARGET_ARCH_VARIANT := armv8-a @@ -97,14 +100,14 @@ BOARD_KERNEL_BASE := 0x00478000 BOARD_KERNEL_PAGESIZE := 2048 BOARD_KERNEL_CMDLINE := loglevel=4 page_tracker=on androidboot.selinux=permissive BOARD_MKBOOTIMG_ARGS := --kernel_offset 0x00008000 --ramdisk_offset 0x07b88000 --tags_offset 0x07588000 -#TARGET_KERNEL_ARCH := arm64 -#TARGET_KERNEL_CROSS_COMPILE_PREFIX := aarch64-linux-android- -#TARGET_KERNEL_HEADER_ARCH := arm64 +TARGET_KERNEL_ARCH := arm64 +TARGET_KERNEL_CROSS_COMPILE_PREFIX := aarch64-linux-android- +TARGET_KERNEL_HEADER_ARCH := arm64 -#TARGET_KERNEL_SOURCE := kernel/huawei/eva -#TARGET_KERNEL_CONFIG := eva_defconfig +TARGET_KERNEL_SOURCE := kernel/huawei/hi3650 +TARGET_KERNEL_CONFIG := hisi_3650_defconfig -TARGET_KERNEL_PREBUILT := device/huawei/eva/kernel +#TARGET_KERNEL_PREBUILT := device/huawei/eva/kernel # Lights TARGET_PROVIDES_LIBLIGHT := true diff --git a/rootdir/fstab.hi3650 b/rootdir/fstab.hi3650 index d7c1d73..49b7074 100644 --- a/rootdir/fstab.hi3650 +++ b/rootdir/fstab.hi3650 @@ -29,6 +29,6 @@ /dev/block/bootdevice/by-name/boot /boot emmc defaults defaults /dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults -/devices/platform/hi_mci.1/mmc_host/mmc1/* auto auto defaults voldmanaged=sdcard:1,noemulatedsd -/devices/platform/ff200000.hisi_usb/ff100000.dwc3/* auto auto defaults voldmanaged=usbotg:1 +/devices/platform/hi_mci.1/mmc_host/mmc1/* auto auto defaults voldmanaged=sdcard:auto,noemulatedsd +/devices/platform/ff200000.hisi_usb/ff100000.dwc3/* auto auto defaults voldmanaged=usbotg:auto