boot: restore setting stack size, and remove wrong experimental
#ifndef DOS that shouldn't have been committed.
This commit is contained in:
parent
50539c12f5
commit
ac310cbe09
@ -30,6 +30,10 @@ LDADD.boot= -lsys
|
|||||||
BINDIR.boot= /usr/mdec
|
BINDIR.boot= /usr/mdec
|
||||||
MAN.boot=
|
MAN.boot=
|
||||||
|
|
||||||
|
all: .PHONY bootsize
|
||||||
|
bootsize: boot
|
||||||
|
${INSTALL} -S 22kb boot
|
||||||
|
|
||||||
SRCS.masterboot= masterboot.s
|
SRCS.masterboot= masterboot.s
|
||||||
CPPFLAGS.masterboot.s= ${I86CPPFLAGS}
|
CPPFLAGS.masterboot.s= ${I86CPPFLAGS}
|
||||||
LDFLAGS.masterboot= ${I86LDFLAGS}
|
LDFLAGS.masterboot= ${I86LDFLAGS}
|
||||||
|
@ -767,10 +767,8 @@ char *select_image(char *image)
|
|||||||
ino_t image_ino;
|
ino_t image_ino;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
|
|
||||||
#ifndef DOS
|
|
||||||
image= strcpy(malloc((strlen(image) + 1 + NAME_MAX + 1)
|
image= strcpy(malloc((strlen(image) + 1 + NAME_MAX + 1)
|
||||||
* sizeof(char)), image);
|
* sizeof(char)), image);
|
||||||
#endif
|
|
||||||
|
|
||||||
fsok= r_super(&block_size) != 0;
|
fsok= r_super(&block_size) != 0;
|
||||||
if (!fsok || (image_ino= r_lookup(ROOT_INO, image)) == 0) {
|
if (!fsok || (image_ino= r_lookup(ROOT_INO, image)) == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user