diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-06-08 03:11:16 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-06-08 03:11:16 +0000 |
| commit | c2098cc1ad43fd09fbd61f8b997ec430d44aaf9e (patch) | |
| tree | 3e7e4b5b852e40d957f890a95f028ef391c83f3e /sys | |
| parent | d196a108564ad51cc9d95b62af83f945a7850bf2 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/boot/ficl/Makefile | 3 | ||||
| -rw-r--r-- | sys/boot/ficl/loader.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile index 08561ec89254..6302da645da6 100644 --- a/sys/boot/ficl/Makefile +++ b/sys/boot/ficl/Makefile @@ -13,6 +13,9 @@ CFLAGS+= -mno-fp-regs .if ${MACHINE_ARCH} == "i386" CFLAGS+= -mpreferred-stack-boundary=2 .endif +.if ${MACHINE} == "pc98" +CFLAGS+= -DPC98 +.endif .if HAVE_PNP CFLAGS+= -DHAVE_PNP .endif diff --git a/sys/boot/ficl/loader.c b/sys/boot/ficl/loader.c index cf25d0c83298..98931507a986 100644 --- a/sys/boot/ficl/loader.c +++ b/sys/boot/ficl/loader.c @@ -656,7 +656,9 @@ void ficlCompilePlatform(FICL_SYSTEM *pSys) dictAppendWord(dp, "ccall", ficlCcall, FW_DEFAULT); #endif -#if defined(__i386__) +#if defined(PC98) + ficlSetEnv(pSys, "arch-pc98", FICL_TRUE); +#elif defined(__i386__) ficlSetEnv(pSys, "arch-i386", FICL_TRUE); ficlSetEnv(pSys, "arch-alpha", FICL_FALSE); ficlSetEnv(pSys, "arch-ia64", FICL_FALSE); |
