Skip to content

Commit

Permalink
eva: switch to source kernel building
Browse files Browse the repository at this point in the history
Change-Id: Ibdcfed5b653776648d97958cf4b7c22eca239427
  • Loading branch information
OldDroid committed Jun 2, 2017
1 parent e50b77e commit 3241f73
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
15 changes: 9 additions & 6 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@

LOCAL_PATH := device/huawei/eva

# disable Ninja
USE_NINJA=false

# Architecture
TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-a
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions rootdir/fstab.hi3650
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3241f73

Please sign in to comment.