Skip to content

Commit

Permalink
* Add pi example
Browse files Browse the repository at this point in the history
 * Add configs for softfloat
  • Loading branch information
cnlohr committed Nov 29, 2023
1 parent 1e12dad commit 46c784c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ toolchain : buildroot
cp -a configs/buildroot_config buildroot/.config
cp -a configs/busybox_config buildroot/busybox_config
cp -a configs/uclibc_config buildroot/uclibc_config
cp -a configs/uclibc_config buildroot/uclibc_config_extra
true || cp -a configs/rootfsoverlay/* buildroot/output/target/
make -C buildroot

Expand Down
6 changes: 4 additions & 2 deletions configs/buildroot_config
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ BR2_HOST_GCC_AT_LEAST_7=y
BR2_HOST_GCC_AT_LEAST_8=y
BR2_HOST_GCC_AT_LEAST_9=y

BR2_SOFT_FLOAT=y

#
# Target options
#
Expand Down Expand Up @@ -174,13 +176,13 @@ BR2_PACKAGE_UCLIBC_SUPPORTS=y
#
BR2_PACKAGE_UCLIBC=y
BR2_UCLIBC_CONFIG="uclibc_config"
BR2_UCLIBC_CONFIG_FRAGMENT_FILES=""
BR2_UCLIBC_CONFIG_FRAGMENT_FILES="uclibc_config_extra"
# BR2_TOOLCHAIN_BUILDROOT_WCHAR is not set
# BR2_TOOLCHAIN_BUILDROOT_LOCALE is not set
# BR2_PTHREADS is not set
BR2_PTHREADS_NONE=y
# BR2_TOOLCHAIN_BUILDROOT_USE_SSP is not set
BR2_UCLIBC_INSTALL_UTILS=y
# BR2_UCLIBC_INSTALL_UTILS is not set
BR2_UCLIBC_TARGET_ARCH="riscv32"

#
Expand Down
2 changes: 1 addition & 1 deletion configs/uclibc_config
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=n
DO_C99_MATH=y
DO_XSI_MATH=y
UCLIBC_HAS_LONG_DOUBLE_MATH=y
# UCLIBC_HAS_LONG_DOUBLE_MATH is not set
KERNEL_HEADERS="/home/charlesl/git/mini-rv32ima/buildroot/output/build/linux-headers-6.5.12/usr/include"
UCLIBC_UCLINUX_BROKEN_MUNMAP=y
HAVE_DOT_CONFIG=y
Expand Down

0 comments on commit 46c784c

Please sign in to comment.