aboutsummaryrefslogtreecommitdiff
path: root/make_cdrom.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-07-30 20:37:21 +0200
committerAlex Auvolat <alex@adnab.me>2016-07-30 20:37:21 +0200
commitfa5327d4cc5e47656326b8c0c55d23cd71b04462 (patch)
treee0b9f5a9bf45bedbf8383b8839c98b04c5e44552 /make_cdrom.sh
parent6466208ec051e58b824cc3c839b6b086ae910fe6 (diff)
downloadkogata-fa5327d4cc5e47656326b8c0c55d23cd71b04462.tar.gz
kogata-fa5327d4cc5e47656326b8c0c55d23cd71b04462.zip
Use elf symbol table instead of map file for kernel
Diffstat (limited to 'make_cdrom.sh')
-rwxr-xr-xmake_cdrom.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/make_cdrom.sh b/make_cdrom.sh
index 69501cb..bbf2a4b 100755
--- a/make_cdrom.sh
+++ b/make_cdrom.sh
@@ -8,20 +8,19 @@ fi
# Copy system files to CDROM
-cp build/kernel.bin cdrom/boot; strip cdrom/boot/kernel.bin
-cp build/kernel.map cdrom/boot
-cp build/sysbin/init.bin cdrom/boot; strip cdrom/boot/init.bin
+cp build/kernel.bin cdrom/boot; strip --strip-debug cdrom/boot/kernel.bin
+cp build/sysbin/init.bin cdrom/boot; strip --strip-debug cdrom/boot/init.bin
mkdir -p cdrom/sys/bin
for BIN in giosrv.bin login.bin terminal.bin shell.bin; do
cp build/sysbin/$BIN cdrom/sys/bin
- strip cdrom/sys/bin/$BIN
+ strip --strip-debug cdrom/sys/bin/$BIN
done
mkdir -p cdrom/bin
for BIN in lua.bin luac.bin; do
cp build/bin/$BIN cdrom/bin
- strip cdrom/bin/$BIN
+ strip --strip-debug cdrom/bin/$BIN
done
mkdir -p cdrom/sys/fonts
@@ -46,7 +45,6 @@ default 0
title kogata OS
kernel /boot/kernel.bin root=io:/disk/atapi0 root_opts=l init=root:/boot/init.bin config=default
-module /boot/kernel.map
EOF
# Generate CDROM image