302d3bc4a0
This commit allow to use the post-image script previously added for each qemu board. Add "$(BR2_DEFCONFIG)" as post-image script argument to retried the qemu command line. Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
35 lines
821 B
Plaintext
35 lines
821 B
Plaintext
# Architecture
|
|
BR2_powerpc=y
|
|
BR2_powerpc_7400=y
|
|
|
|
# System
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
|
|
# Linux headers same as kernel, a 5.2 series
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_2=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.2.4"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="pmac32"
|
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-mac99/linux.fragment"
|
|
BR2_LINUX_KERNEL_VMLINUX=y
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
|
|
|
# Serial port config
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_CPIO=y
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
|
|
# Image
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
|
|
|
|
# host-qemu for gitlab testing
|
|
BR2_PACKAGE_HOST_QEMU=y
|
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|