Skip to content

Commit 8edeac0

Browse files
committed
sdk: rename hostname and default_hostname symbols (#1281)
hostname -> wifi_station_hostname default_hostname -> wifi_station_default_hostname
1 parent 9183366 commit 8edeac0

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

tools/sdk/lib/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ xtensa-lx106-elf-ar -d libmain.a mem_manager.o
1010
xtensa-lx106-elf-ar -d libmain.a time.o
1111
```
1212

13+
Rename `hostname` and `default_hostname` symbols:
14+
15+
```bash
16+
xtensa-lx106-elf-ar x libmain.a eagle_lwip_if.o user_interface.o
17+
xtensa-lx106-elf-objcopy --redefine-sym hostname=wifi_station_hostname user_interface.o
18+
xtensa-lx106-elf-objcopy --redefine-sym hostname=wifi_station_hostname eagle_lwip_if.o
19+
xtensa-lx106-elf-objcopy --redefine-sym default_hostname=wifi_station_default_hostname user_interface.o
20+
xtensa-lx106-elf-objcopy --redefine-sym default_hostname=wifi_station_default_hostname eagle_lwip_if.o
21+
xtensa-lx106-elf-ar r libmain.a eagle_lwip_if.o user_interface.o
22+
```
23+
1324
## Updating libstdc++
1425

1526
After building gcc using crosstool-NG, get compiled libstdc++ and remove some objects:

tools/sdk/lib/libmain.a

82 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)