Fix iso generation
echo -e does not work on ubuntu echo does. It's the opposite on archlinux... Use printf!
This commit is contained in:
parent
7a684d735c
commit
e1ac9ebd9d
2
Makefile
2
Makefile
@ -26,7 +26,7 @@ kernel:$(asmobj) $(cobj) linker.ld
|
|||||||
fd.iso: kernel
|
fd.iso: kernel
|
||||||
mkdir -p isodir/boot/grub
|
mkdir -p isodir/boot/grub
|
||||||
cp $< isodir/boot/
|
cp $< isodir/boot/
|
||||||
@echo "menuentry \"myos\" {\n\tmultiboot /boot/kernel\n}" > isodir/boot/grub/grub.cfg
|
@printf "menuentry \"myos\" {\n\tmultiboot /boot/kernel\n}" > isodir/boot/grub/grub.cfg
|
||||||
grub-mkrescue -o $@ isodir
|
grub-mkrescue -o $@ isodir
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user