diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2003-08-16 02:48:20 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2003-08-16 02:48:20 +0000 |
| commit | 047c5be3e770edf783e02ab12bfcefd579cf0a29 (patch) | |
| tree | caff823757ea3cf39cc49f23a5b5e3e2b7e40748 /sys/boot | |
| parent | c6d402d3f23a3d84a52e4164480d4b4041fda01d (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/Makefile | 2 | ||||
| -rw-r--r-- | sys/boot/powerpc/loader/Makefile | 20 | ||||
| -rw-r--r-- | sys/boot/powerpc/ofw/Makefile | 20 |
3 files changed, 21 insertions, 21 deletions
diff --git a/sys/boot/Makefile b/sys/boot/Makefile index ad7f32b25eaf..5a04f78e8ebb 100644 --- a/sys/boot/Makefile +++ b/sys/boot/Makefile @@ -4,7 +4,7 @@ .MAKEFLAGS: MACHINE_ARCH=i386 MACHINE=i386 REALLY_AMD64=true .endif -.if !defined(NOFORTH) +.if !defined(NOFORTH) && ${MACHINE_ARCH} != "powerpc" # Build the add-in FORTH interpreter SUBDIR+= ficl .endif diff --git a/sys/boot/powerpc/loader/Makefile b/sys/boot/powerpc/loader/Makefile index 9cf054c3203d..dfc52ee4e919 100644 --- a/sys/boot/powerpc/loader/Makefile +++ b/sys/boot/powerpc/loader/Makefile @@ -30,16 +30,16 @@ CFLAGS+= -DLOADER_DISK_SUPPORT CFLAGS+= -DLOADER_NET_SUPPORT .endif -.if !defined(NOFORTH) -# Enable BootForth -BOOT_FORTH= yes -CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/powerpc -.if exists(${.OBJDIR}/../../ficl/libficl.a) -LIBFICL= ${.OBJDIR}/../../ficl/libficl.a -.else -LIBFICL= ${.CURDIR}/../../ficl/libficl.a -.endif -.endif +###.if !defined(NOFORTH) +#### Enable BootForth +###BOOT_FORTH= yes +###CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/powerpc +###.if exists(${.OBJDIR}/../../ficl/libficl.a) +###LIBFICL= ${.OBJDIR}/../../ficl/libficl.a +###.else +###LIBFICL= ${.CURDIR}/../../ficl/libficl.a +###.endif +###.endif # Always add MI sources .PATH: ${.CURDIR}/../../common diff --git a/sys/boot/powerpc/ofw/Makefile b/sys/boot/powerpc/ofw/Makefile index 9cf054c3203d..dfc52ee4e919 100644 --- a/sys/boot/powerpc/ofw/Makefile +++ b/sys/boot/powerpc/ofw/Makefile @@ -30,16 +30,16 @@ CFLAGS+= -DLOADER_DISK_SUPPORT CFLAGS+= -DLOADER_NET_SUPPORT .endif -.if !defined(NOFORTH) -# Enable BootForth -BOOT_FORTH= yes -CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/powerpc -.if exists(${.OBJDIR}/../../ficl/libficl.a) -LIBFICL= ${.OBJDIR}/../../ficl/libficl.a -.else -LIBFICL= ${.CURDIR}/../../ficl/libficl.a -.endif -.endif +###.if !defined(NOFORTH) +#### Enable BootForth +###BOOT_FORTH= yes +###CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/powerpc +###.if exists(${.OBJDIR}/../../ficl/libficl.a) +###LIBFICL= ${.OBJDIR}/../../ficl/libficl.a +###.else +###LIBFICL= ${.CURDIR}/../../ficl/libficl.a +###.endif +###.endif # Always add MI sources .PATH: ${.CURDIR}/../../common |
