mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
configs/hifive_unleashed: extract common configuration
Move the generic part of the configuration into a new "common" directory so that it is easier to add similar boards without duplicating the files. Signed-off-by: Francois Dugast <francois.dugast.foss@gmail.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
185c0ba4b9
commit
ec8120af81
@@ -97,7 +97,7 @@ Adjust Buildroot configuration by:
|
||||
$ make menuconfig
|
||||
|
||||
Change "System configuration" -> "Extra arguments passed to custom scripts"
|
||||
value to "-c board/sifive/hifive-unleashed/genimage_spi-nor.cfg", save the
|
||||
value to "-c board/sifive/common/genimage_spi-nor.cfg", save the
|
||||
configuration and build. This creates a output/images/spi-nor.img that can
|
||||
be programmed to the on-board SPI flash.
|
||||
|
||||
|
||||
@@ -8,14 +8,14 @@ BR2_RISCV_ISA_RVC=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttySIF0"
|
||||
BR2_SYSTEM_DHCP="eth0"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/sifive/hifive-unleashed/post-build.sh"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/sifive/common/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sifive/hifive-unleashed/genimage_sdcard.cfg"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/sifive/common/genimage_sdcard.cfg"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.190"
|
||||
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sifive/hifive-unleashed/linux.config.fragment"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sifive/common/linux.config.fragment"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="sifive/hifive-unleashed-a00"
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
|
||||
Reference in New Issue
Block a user