mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
6 lines
145 B
Bash
6 lines
145 B
Bash
#!/bin/sh
|
|
tmp=$(mktemp)
|
|
nm -nC kernel | uniq > $tmp
|
|
printf "%08x\n" $(wc -l $tmp | cut -f1 -d' ') > kernel.map
|
|
cat $tmp >> kernel.map
|
|
rm -f $tmp
|