similarity index 100%
rename from board/sifive/hifive-unleashed/genimage_sdcard.cfg
rename to board/sifive/common/genimage_sdcard.cfg
similarity index 100%
rename from board/sifive/hifive-unleashed/genimage_spi-nor.cfg
rename to board/sifive/common/genimage_spi-nor.cfg
similarity index 100%
rename from board/sifive/hifive-unleashed/linux.config.fragment
rename to board/sifive/common/linux.config.fragment
similarity index 100%
rename from board/sifive/hifive-unleashed/post-build.sh
rename to board/sifive/common/post-build.sh
@@ -13,9 +13,9 @@ BR2_RISCV_ABI_LP64D=y
BR2_SYSTEM_DHCP="eth0"
BR2_TARGET_GENERIC_GETTY=y
BR2_TARGET_GENERIC_GETTY_PORT="ttySIF0"
-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"
# Filesystem
BR2_TARGET_ROOTFS_CPIO=y
@@ -30,7 +30,7 @@ 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_IMAGE=y
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="sifive/hifive-unleashed-a00"
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> --- .../sifive/{hifive-unleashed => common}/genimage_sdcard.cfg | 0 .../{hifive-unleashed => common}/genimage_spi-nor.cfg | 0 .../{hifive-unleashed => common}/linux.config.fragment | 0 board/sifive/{hifive-unleashed => common}/post-build.sh | 0 configs/hifive_unleashed_defconfig | 6 +++--- 5 files changed, 3 insertions(+), 3 deletions(-) rename board/sifive/{hifive-unleashed => common}/genimage_sdcard.cfg (100%) rename board/sifive/{hifive-unleashed => common}/genimage_spi-nor.cfg (100%) rename board/sifive/{hifive-unleashed => common}/linux.config.fragment (100%) rename board/sifive/{hifive-unleashed => common}/post-build.sh (100%)