diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/build/mk/Makefile.boot (renamed from tools/build/Makefile.boot) | 14 | ||||
-rw-r--r-- | tools/build/mk/bsd.lib.mk | 4 | ||||
-rw-r--r-- | tools/build/mk/bsd.prog.mk | 4 |
3 files changed, 12 insertions, 10 deletions
diff --git a/tools/build/Makefile.boot b/tools/build/mk/Makefile.boot index 4ad522e..ba2c5f7 100644 --- a/tools/build/Makefile.boot +++ b/tools/build/mk/Makefile.boot @@ -3,18 +3,12 @@ # FreeBSD didn't always have the __FBSDID() macro in <sys/cdefs.h>. # We could do this with a sys/cdefs.h wrapper, but given that this would # slow down all new builds for such a simple concept, we do it here. -.if defined(BOOTSTRAPPING) && \ - ( ${BOOTSTRAPPING} < 440001 || \ +.if ( ${BOOTSTRAPPING} < 440001 || \ ( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500024 )) CFLAGS+= -D__FBSDID=__RCSID .endif CFLAGS+= -I${WORLDTMP}/legacy/usr/include -DPADD= ${WORLDTMP}/legacy/usr/lib/libegacy.a -LDADD= -legacy -LDFLAGS= -L${WORLDTMP}/legacy/usr/lib - -OLD_MAKE_CONF?= /etc/make.conf -.if exists(${OLD_MAKE_CONF}) -.include "${OLD_MAKE_CONF}" -.endif +DPADD+= ${WORLDTMP}/legacy/usr/lib/libegacy.a +LDADD+= -legacy +LDFLAGS+= -L${WORLDTMP}/legacy/usr/lib diff --git a/tools/build/mk/bsd.lib.mk b/tools/build/mk/bsd.lib.mk new file mode 100644 index 0000000..744f5b5 --- /dev/null +++ b/tools/build/mk/bsd.lib.mk @@ -0,0 +1,4 @@ +# $FreeBSD$ + +.include "../../../share/mk/bsd.lib.mk" +.include "Makefile.boot" diff --git a/tools/build/mk/bsd.prog.mk b/tools/build/mk/bsd.prog.mk new file mode 100644 index 0000000..d650665 --- /dev/null +++ b/tools/build/mk/bsd.prog.mk @@ -0,0 +1,4 @@ +# $FreeBSD$ + +.include "../../../share/mk/bsd.prog.mk" +.include "Makefile.boot" |