Skip to content

Commit bc1014a

Browse files
committed
fix(esp32): drop libnosys getreent stub
1 parent 43bfcfd commit bc1014a

File tree

3 files changed

+0
-26
lines changed

3 files changed

+0
-26
lines changed

internal/crosscompile/compile/libc/newlibesp.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,6 @@ func getNewlibESP32ConfigXtensa(baseDir, target string) compile.CompileConfig {
11151115
filepath.Join(baseDir, "libgloss", "libnosys", "write.c"),
11161116
filepath.Join(baseDir, "libgloss", "libnosys", "getentropy.c"),
11171117
filepath.Join(baseDir, "libgloss", "libnosys", "_exit.c"),
1118-
filepath.Join(baseDir, "libgloss", "libnosys", "getreent.c"),
11191118
filepath.Join(baseDir, "libgloss", "libnosys", "time.c"),
11201119
filepath.Join(baseDir, "libgloss", "libnosys", "fcntl.c"),
11211120
filepath.Join(baseDir, "libgloss", "libnosys", "chdir.c"),
@@ -1269,7 +1268,6 @@ func getNewlibESP32ConfigXtensa(baseDir, target string) compile.CompileConfig {
12691268
"-D_NO_WORDEXP",
12701269
"-D_NO_POPEN",
12711270
"-DHAVE_RENAME",
1272-
"-DGETREENT_PROVIDED",
12731271
"-DSIGNAL_PROVIDED",
12741272
"-isystem" + filepath.Join(libcDir, "include"),
12751273
"-I" + libcDir,
@@ -1990,7 +1988,6 @@ func getNewlibESP32ConfigXtensa(baseDir, target string) compile.CompileConfig {
19901988
"-DHAVE_BLKSIZE",
19911989
"-DHAVE_OPENDIR",
19921990
"-DHAVE_RENAME",
1993-
"-DGETREENT_PROVIDED",
19941991
"-DSIGNAL_PROVIDED",
19951992
"-D__ESP__",
19961993
"-isystem" + filepath.Join(libcDir, "include"),

targets/device/esp/esp32_semihost_init.c

Lines changed: 0 additions & 20 deletions
This file was deleted.

targets/esp32.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
"rtlib": "compiler-rt",
1616
"libc": "newlib-esp32",
1717
"linkerscript": "targets/esp32.memory.elf.ld",
18-
"extra-files": [
19-
"targets/device/esp/esp32_semihost_init.c"
20-
],
2118
"binary-format": "esp32",
2219
"flash-command": "esptool.py --chip=esp32 --port {port} write_flash 0x1000 {bin} -ff 80m -fm dout",
2320
"emulator": "qemu-system-xtensa -semihosting -machine esp32 -nographic -drive file={img},if=mtd,format=raw",

0 commit comments

Comments
 (0)