summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/newlib/newlib.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/newlib/newlib.inc')
-rw-r--r--meta/recipes-core/newlib/newlib.inc18
1 files changed, 12 insertions, 6 deletions
diff --git a/meta/recipes-core/newlib/newlib.inc b/meta/recipes-core/newlib/newlib.inc
index 6113f5e831..a8794dd1d9 100644
--- a/meta/recipes-core/newlib/newlib.inc
+++ b/meta/recipes-core/newlib/newlib.inc
@@ -8,26 +8,32 @@ LIC_FILES_CHKSUM = " \
8 file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ 8 file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
9 file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ 9 file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
10 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ 10 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
11 file://COPYING.LIBGLOSS;md5=c0469b6ebb847a75781066be515f032d \ 11 file://COPYING.LIBGLOSS;md5=faa6f6ad545714df2a7d1276ed899f15 \
12 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ 12 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
13 file://COPYING.NEWLIB;md5=4f1a15846ffee91e352418563e1bce27 \ 13 file://COPYING.NEWLIB;md5=61255563bbcda142f581b94591b6a589 \
14 file://newlib/libc/posix/COPYRIGHT;md5=103468ff1982be840fdf4ee9f8b51bbf \ 14 file://newlib/libc/posix/COPYRIGHT;md5=103468ff1982be840fdf4ee9f8b51bbf \
15 " 15 "
16 16
17BASEVER = "4.4.0" 17BASEVER = "4.5.0"
18PV = "${BASEVER}+git" 18PV = "${BASEVER}+git"
19SRC_URI = "git://sourceware.org/git/newlib-cygwin.git;protocol=https;branch=main" 19SRC_URI = "git://sourceware.org/git/newlib-cygwin.git;protocol=https;branch=main"
20SRCREV="ad11e2587f83d61357a32c61c36d72ea4f39315e" 20SRCREV = "5e5e51f1dc56a99eb4648c28e00d73b6ea44a8b0"
21 21
22INHIBIT_DEFAULT_DEPS = "1" 22INHIBIT_DEFAULT_DEPS = "1"
23DEPENDS = "virtual/${TARGET_PREFIX}gcc" 23DEPENDS = "virtual/cross-cc"
24 24
25S = "${WORKDIR}/git"
26B = "${WORKDIR}/build" 25B = "${WORKDIR}/build"
27 26
28## disable stdlib 27## disable stdlib
29TARGET_CC_ARCH:append = " -nostdlib" 28TARGET_CC_ARCH:append = " -nostdlib"
30 29
30# Both the C library and the application should share the same mcmodel.
31# Use the medium-any code model for the RISC-V 64 bit implementation,
32# since medlow can only access addresses below 0x80000000 and RAM
33# starts at 0x80000000 on RISC-V 64
34# Keep RISC-V 32 using -mcmodel=medlow (symbols lie between -2GB:2GB)
35TARGET_CFLAGS:append:qemuriscv64 = " -mcmodel=medany"
36
31EXTRA_OECONF = " \ 37EXTRA_OECONF = " \
32 --build=${BUILD_SYS} \ 38 --build=${BUILD_SYS} \
33 --target=${TARGET_SYS} \ 39 --target=${TARGET_SYS} \