diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-02-06 12:45:27 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-02-06 12:45:27 +0000 |
commit | 742816a54afd04f861513d0e8d14607599eaa44d (patch) | |
tree | e56a314914d215285d9840b6ffca9d890f7da02b /sys/boot | |
parent | fb94df0e92bd794da8dbd108f7af0649fb16d03a (diff) | |
download | src-742816a54afd04f861513d0e8d14607599eaa44d.tar.gz src-742816a54afd04f861513d0e8d14607599eaa44d.zip |
Only include ../Makefile.inc once in loader/Makefile.
Notes
Notes:
svn path=/head/; revision=125516
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/i386/Makefile.inc | 3 | ||||
-rw-r--r-- | sys/boot/i386/loader/Makefile | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/sys/boot/i386/Makefile.inc b/sys/boot/i386/Makefile.inc index f8c00de97a53..f390a08c46c7 100644 --- a/sys/boot/i386/Makefile.inc +++ b/sys/boot/i386/Makefile.inc @@ -9,8 +9,7 @@ CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 .MAKEFLAGS: MACHINE_ARCH=i386 MACHINE=i386 REALLY_AMD64=true .endif -.if defined(REALLY_AMD64) && !defined(__been_to_Makefile_inc) -__been_to_Makefile_inc= 1 +.if defined(REALLY_AMD64) CFLAGS+= -m32 LDFLAGS+= -m elf_i386_fbsd AFLAGS+= --32 diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile index 670bd9fca30f..4d87aa316ea6 100644 --- a/sys/boot/i386/loader/Makefile +++ b/sys/boot/i386/loader/Makefile @@ -41,7 +41,7 @@ CFLAGS+= -DLOADER_GZIP_SUPPORT # Always add MI sources .PATH: ${.CURDIR}/../../common -.include <${.CURDIR}/../../common/Makefile.inc> +.include "${.CURDIR}/../../common/Makefile.inc" CFLAGS+= -I${.CURDIR}/../../common CFLAGS+= -I${.CURDIR}/../../.. -I. @@ -109,8 +109,6 @@ FILESDIR_loader.conf= /boot/defaults FILES+= ${.CURDIR}/loader.rc .endif -.include <${.CURDIR}/../Makefile.inc> - # Cannot use ${OBJS} above this line .include <bsd.prog.mk> |