9db5eb258c
There is no need to have configuration files direbtly set the BR2_PACKAGE_HOST_ELF2FLT option. The need for the elf2flt utility is automatically determined by gcc build in package/gcc/gcc.mk according to the BR2_BINFMT_FLAT option. Accordingly, we can remove the file package/elf2flt/Config.in.host to get rid of the BR2_PACKAGE_HOST_ELF2FLT option. BR2_STRIP_strip dependency on this option is replaced with a dependency on BR2_BINFMT_ELF. To stay consistent with the fact that elf2flt supports only the arm, sh, sparc, xtensa and riscv-64 architectures, a dependency on these architectures is added to the BR2_BINFMT_FLAT option in arch/Config.in. Board configuration files setting the BR2_PACKAGE_HOST_ELF2FLT option are also updated. Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
37 lines
751 B
Plaintext
37 lines
751 B
Plaintext
# Architecture
|
|
BR2_riscv=y
|
|
BR2_RISCV_64=y
|
|
|
|
# Patches
|
|
BR2_GLOBAL_PATCH_DIR="board/riscv/nommu/patches"
|
|
|
|
# Toolchain
|
|
# BR2_USE_MMU is not set
|
|
|
|
# Busybox with hush
|
|
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config"
|
|
|
|
# System
|
|
BR2_TARGET_GENERIC_GETTY=y
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
|
|
# Image
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.18"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="nommu_virt"
|
|
BR2_LINUX_KERNEL_IMAGE=y
|
|
|
|
# Disable network scripts
|
|
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
|
|
|
|
# host-qemu for gitlab testing
|
|
BR2_PACKAGE_HOST_QEMU=y
|
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|