865b1e92a2
This fixes the following nommu kernel build issue: arch/xtensa/kernel/setup.c: In function 'cpu_reset': arch/xtensa/kernel/setup.c:553:2: error: implicit declaration of function 'local_flush_tlb_all' [-Werror=implicit-function-declaration] local_flush_tlb_all(); Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
35 lines
872 B
Plaintext
35 lines
872 B
Plaintext
# Architecture
|
|
BR2_xtensa=y
|
|
BR2_XTENSA_CUSTOM=y
|
|
BR2_XTENSA_CUSTOM_NAME="dc233c"
|
|
BR2_XTENSA_CORE_NAME="lx60"
|
|
BR2_XTENSA_OVERLAY_DIR="board/qemu/xtensa-lx60"
|
|
|
|
# Toolchain
|
|
BR2_PACKAGE_HOST_ELF2FLT=y
|
|
# BR2_USE_MMU is not set
|
|
|
|
# Patches
|
|
BR2_GLOBAL_PATCH_DIR="board/qemu/xtensa-lx60"
|
|
|
|
# System
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
|
|
|
# Filesystem
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
BR2_TARGET_ROOTFS_INITRAMFS=y
|
|
|
|
# Linux headers same as kernel, a 4.9 series
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9.16"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux-4.9-nommu.config"
|
|
BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
|
|
BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf"
|
|
BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="zImage"
|