summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 01b6062..1e64bbe 100644
--- a/Makefile
+++ b/Makefile
@@ -42,14 +42,17 @@ $(Cdrom): menu_cdrom.lst src/kernel/kernel.elf src/user/app/test/test.elf src/us
echo "Please copy grub's stage2_eltorito to cdrom/boot/grub."; \
exit -1; \
fi
+ cp menu_cdrom.lst cdrom/boot/grub/menu.lst
+ cp src/kernel/kernel.elf cdrom; strip cdrom/kernel.elf
+ cp src/user/app/init/init.elf cdrom; strip cdrom/init.elf
+ cp src/user/app/test/test.elf cdrom; strip cdrom/test.elf
+ cp src/user/app/yosh/yosh.elf cdrom; strip cdrom/yosh.elf
+ cp src/user/app/prime/prime.elf cdrom; strip cdrom/prime.elf
src/tools/makeinitrd/makeinitrd cdrom/initrd \
- src/user/app/test/test.elf:/bin/test \
- src/user/app/yosh/yosh.elf:/bin/yosh \
- src/user/app/prime/prime.elf:/bin/prime \
+ cdrom/test.elf:/bin/test \
+ cdrom/yosh.elf:/bin/yosh \
+ cdrom/prime.elf:/bin/prime \
README:/readme
- cp menu_cdrom.lst cdrom/boot/grub/menu.lst
- cp src/kernel/kernel.elf cdrom
- cp src/user/app/init/init.elf cdrom
genisoimage -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 \
-boot-info-table -input-charset ascii -A TCE -o $(Cdrom) cdrom