mirror of
https://github.com/vivier/EMILE.git
synced 2024-07-11 15:29:32 +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
|
||||
FILE=file -bknL
|
||||
KERNEL_SIZE=$(shell ls -l vmlinux.bin | awk '{print $$5}')
|
||||
|
||||
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)
|
||||
ifeq ($(RAMDISK),ramdisk.gz)
|
||||
tools/emile-install -f first/first_floppy -s second/second_floppy \
|
||||
-i vmlinuz -b $(KERNEL_SIZE) \
|
||||
-r $(RAMDISK) \
|
||||
floppy.img.X
|
||||
-k vmlinuz -r $(RAMDISK) floppy.img.X
|
||||
else
|
||||
tools/emile-install -f first/first_floppy -s second/second_floppy \
|
||||
-i vmlinuz -b $(KERNEL_SIZE) \
|
||||
floppy.img.X
|
||||
-k vmlinuz floppy.img.X
|
||||
endif
|
||||
tools/emile-set-cmdline floppy.img.X $(KERNEL_ARGS)
|
||||
mv floppy.img.X floppy.img
|
||||
|
Loading…
Reference in New Issue
Block a user