From fa5327d4cc5e47656326b8c0c55d23cd71b04462 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 30 Jul 2016 20:37:21 +0200 Subject: Use elf symbol table instead of map file for kernel --- make_cdrom.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'make_cdrom.sh') 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 -- cgit v1.2.3