Move the definition of UFS1_ONLY into the Makefiles where it belongs.
Sponsored by: DARPA & NAI Labs.
This commit is contained in:
parent
fcc57bdac4
commit
5765b4ef72
@ -122,9 +122,6 @@ lookup(const char *path)
|
||||
return dt == DT_REG ? ino : 0;
|
||||
}
|
||||
|
||||
#ifndef __sparc64__
|
||||
#define UFS1_ONLY
|
||||
#endif
|
||||
#ifdef UFS1_ONLY
|
||||
|
||||
static ssize_t
|
||||
|
@ -36,6 +36,8 @@ CFLAGS= -elf -ffreestanding -Os -fno-builtin \
|
||||
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
|
||||
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
|
||||
|
||||
CFLAGS+= -DUFS1_ONLY
|
||||
|
||||
LDFLAGS=-nostdlib -static -N
|
||||
|
||||
all: boot1 boot2
|
||||
|
@ -36,6 +36,8 @@ CFLAGS= -elf -ffreestanding -Os -fno-builtin \
|
||||
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
|
||||
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
|
||||
|
||||
CFLAGS+= -DUFS1_ONLY
|
||||
|
||||
LDFLAGS=-nostdlib -static -N
|
||||
|
||||
all: boot1 boot2
|
||||
|
@ -15,6 +15,7 @@ CFLAGS+= -DBOOTSEG=${BOOTSEG} -DBOOTSTACK=${BOOTSTACK}
|
||||
CFLAGS+= ${CWARNFLAGS}
|
||||
CFLAGS+= -I${.CURDIR}/../../.. -I.
|
||||
|
||||
CFLAGS+= -DUFS1_ONLY
|
||||
|
||||
# By default, if a serial port is going to be used as console, use COM1
|
||||
# (aka /dev/ttyd0).
|
||||
|
Loading…
Reference in New Issue
Block a user