Change-Id: I8562b1e56d0449f5606a9ff52a8ea6ab64d5ec32 Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
43 lines
881 B
Makefile
Executable File
43 lines
881 B
Makefile
Executable File
#!/bin/bash
|
|
|
|
#=========================
|
|
# Compile Config
|
|
#=========================
|
|
# Target arch
|
|
ARCH=arm64
|
|
# Uboot defconfig
|
|
UBOOT_DEFCONFIG=evb-rk3399
|
|
# Kernel defconfig
|
|
KERNEL_DEFCONFIG=rockchip_linux_defconfig
|
|
# Kernel dts
|
|
KERNEL_DTS=rk3399-sapphire-excavator-linux
|
|
# Buildroot config
|
|
CFG_BUILDROOT=rockchip_rk3399
|
|
# Recovery config
|
|
CFG_RECOVERY=rockchip_rk3399_recovery
|
|
# Pcba config
|
|
CFG_PCBA=rockchip_rk3399_pcba
|
|
# Build jobs
|
|
JOBS=12
|
|
# Yocto machine
|
|
YOCTO_MACHINE=rockchip-rk3399-evb
|
|
#=========================
|
|
# Platform Target
|
|
#=========================
|
|
TARGET_PRODUCT=rk3399
|
|
|
|
# Set rootfs type, see buildroot.
|
|
# ext4 squashfs
|
|
ROOTFS_TYPE=ext4
|
|
|
|
# Set data partition type.
|
|
# ext2 squashfs
|
|
OEM_PARTITION_TYPE=ext2
|
|
|
|
# Set flash type.
|
|
# support <emmc, nand, spi_nand, spi_nor>
|
|
FLASH_TYPE=emmc
|
|
|
|
#OEM config: /oem/dueros/aispeech/iflytekSDK/CaeDemo_VAD/smart_voice
|
|
OEM_PATH=oem
|