mirror of
https://github.com/vivier/EMILE.git
synced 2024-10-10 16:23:42 +00:00
use new parameters of emile-install, don't need kernel size anymore
This commit is contained in:
parent
24baafee89
commit
b29182eabc
8
Makefile
8
Makefile
@ -47,7 +47,6 @@ OBJCOPY=$(CROSS_COMPILE)objcopy
|
|||||||
|
|
||||||
KERNEL=vmlinux
|
KERNEL=vmlinux
|
||||||
FILE=file -bknL
|
FILE=file -bknL
|
||||||
KERNEL_SIZE=$(shell ls -l vmlinux.bin | awk '{print $$5}')
|
|
||||||
|
|
||||||
all: libemile tools first/first_floppy second/second_floppy
|
all: libemile tools first/first_floppy second/second_floppy
|
||||||
|
|
||||||
@ -55,13 +54,10 @@ floppy.img: libemile tools first/first_floppy vmlinuz second/second_floppy \
|
|||||||
$(RAMDISK)
|
$(RAMDISK)
|
||||||
ifeq ($(RAMDISK),ramdisk.gz)
|
ifeq ($(RAMDISK),ramdisk.gz)
|
||||||
tools/emile-install -f first/first_floppy -s second/second_floppy \
|
tools/emile-install -f first/first_floppy -s second/second_floppy \
|
||||||
-i vmlinuz -b $(KERNEL_SIZE) \
|
-k vmlinuz -r $(RAMDISK) floppy.img.X
|
||||||
-r $(RAMDISK) \
|
|
||||||
floppy.img.X
|
|
||||||
else
|
else
|
||||||
tools/emile-install -f first/first_floppy -s second/second_floppy \
|
tools/emile-install -f first/first_floppy -s second/second_floppy \
|
||||||
-i vmlinuz -b $(KERNEL_SIZE) \
|
-k vmlinuz floppy.img.X
|
||||||
floppy.img.X
|
|
||||||
endif
|
endif
|
||||||
tools/emile-set-cmdline floppy.img.X $(KERNEL_ARGS)
|
tools/emile-set-cmdline floppy.img.X $(KERNEL_ARGS)
|
||||||
mv floppy.img.X floppy.img
|
mv floppy.img.X floppy.img
|
||||||
|
Loading…
Reference in New Issue
Block a user