summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-10-22 22:50:08 +0000
committerWarner Losh <imp@FreeBSD.org>2017-10-22 22:50:08 +0000
commitcb3ee5c694cc96efe94c0e7c3eada3b908f35b63 (patch)
tree5c4fe0c59fa06817fc155b75b5ba400d10880ed0
parent392c874409c1ece12354792b8dafa8bfd1a0bb9b (diff)
Notes
-rw-r--r--sys/boot/arm/uboot/Makefile2
-rw-r--r--sys/boot/defs.mk12
-rw-r--r--sys/boot/ficl.mk4
-rw-r--r--sys/boot/ficl/Makefile4
-rw-r--r--sys/boot/i386/gptboot/Makefile2
-rw-r--r--sys/boot/i386/gptzfsboot/Makefile2
-rw-r--r--sys/boot/i386/libi386/Makefile2
-rw-r--r--sys/boot/i386/loader/Makefile4
-rw-r--r--sys/boot/loader.mk10
-rw-r--r--sys/boot/mips/beri/loader/Makefile2
-rw-r--r--sys/boot/mips/uboot/Makefile2
-rw-r--r--sys/boot/powerpc/kboot/Makefile2
-rw-r--r--sys/boot/powerpc/ofw/Makefile2
-rw-r--r--sys/boot/powerpc/ps3/Makefile2
-rw-r--r--sys/boot/powerpc/uboot/Makefile2
-rw-r--r--sys/boot/sparc64/loader/Makefile2
16 files changed, 28 insertions, 28 deletions
diff --git a/sys/boot/arm/uboot/Makefile b/sys/boot/arm/uboot/Makefile
index 55650d0cc2a9d..b45c54762b49c 100644
--- a/sys/boot/arm/uboot/Makefile
+++ b/sys/boot/arm/uboot/Makefile
@@ -53,7 +53,7 @@ OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
loader.help: help.common help.uboot ${.CURDIR}/../../fdt/help.fdt
cat ${.ALLSRC} | \
- awk -f ${LDR_MI}/merge_help.awk > ${.TARGET}
+ awk -f ${LDRSRC}/merge_help.awk > ${.TARGET}
ldscript.abs:
echo "UBLDR_LOADADDR = ${UBLDR_LOADADDR};" >${.TARGET}
diff --git a/sys/boot/defs.mk b/sys/boot/defs.mk
index 4cf10510e896d..81acd2aff1a93 100644
--- a/sys/boot/defs.mk
+++ b/sys/boot/defs.mk
@@ -5,13 +5,13 @@
.if !defined(__BOOT_DEFS_MK__)
__BOOT_DEFS_MK__=${MFILE}
-BOOTDIR= ${SRCTOP}/sys/boot
-FICLDIR= ${BOOTDIR}/ficl
-LDR_MI= ${BOOTDIR}/common
-SASRC= ${BOOTDIR}/libsa
+BOOTSRC= ${SRCTOP}/sys/boot
+FDTSRC= ${BOOTSRC}/fdt
+FICLSRC= ${BOOTSRC}/ficl
+LDRSRC= ${BOOTSRC}/common
+SASRC= ${BOOTSRC}/libsa
SYSDIR= ${SRCTOP}/sys
-FDTSRC= ${BOOTDIR}/fdt
-UBOOTSRC= ${BOOTDIR}/uboot
+UBOOTSRC= ${BOOTSRC}/uboot
BOOTOBJ= ${OBJTOP}/sys/boot
diff --git a/sys/boot/ficl.mk b/sys/boot/ficl.mk
index bde0cc423e70e..70b9c0a5382bd 100644
--- a/sys/boot/ficl.mk
+++ b/sys/boot/ficl.mk
@@ -12,7 +12,7 @@ FICL_CPUARCH= mips64
FICL_CPUARCH= ${MACHINE_CPUARCH}
.endif
-.PATH: ${FICLDIR} ${FICLDIR}/${FICL_CPUARCH}
+.PATH: ${FICLSRC} ${FICLSRC}/${FICL_CPUARCH}
.if ${MACHINE_CPUARCH} == "amd64"
.if defined(FICL32)
@@ -26,7 +26,7 @@ CFLAGS+= -fPIC
CFLAGS+= -m32 -mcpu=powerpc -I.
.endif
-CFLAGS+= -I${FICLDIR} -I${FICLDIR}/${FICL_CPUARCH} -I${LDR_MI}
+CFLAGS+= -I${FICLSRC} -I${FICLSRC}/${FICL_CPUARCH} -I${LDRSRC}
CFLAGS+= -DBOOT_FORTH
CFLAGS+= -DBF_DICTSIZE=15000
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile
index 413bfacc0fe04..89213f389410a 100644
--- a/sys/boot/ficl/Makefile
+++ b/sys/boot/ficl/Makefile
@@ -28,12 +28,12 @@ INTERNALLIB=
.endif
# Standard softwords
-.PATH: ${FICLDIR}/softwords
+.PATH: ${FICLSRC}/softwords
SOFTWORDS= softcore.fr jhlocal.fr marker.fr freebsd.fr ficllocal.fr \
ifbrack.fr
# Optional OO extension softwords
#SOFTWORDS+= oo.fr classes.fr
softcore.c: ${SOFTWORDS} softcore.awk
- (cd ${FICLDIR}/softwords; cat ${SOFTWORDS} \
+ (cd ${FICLSRC}/softwords; cat ${SOFTWORDS} \
| awk -f softcore.awk -v datestamp="`LC_ALL=C date`") > ${.TARGET}
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index cdfaed0356e38..6795c7cc8d3b9 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -43,7 +43,7 @@ CFLAGS.gcc+= --param max-inline-insns-single=100
.if ${LOADER_GELI_SUPPORT:Uyes} == "yes"
CFLAGS+= -DLOADER_GELI_SUPPORT
-CFLAGS+= -I${BOOTDIR}/geli
+CFLAGS+= -I${BOOTSRC}/geli
CFLAGS+= -I${.CURDIR}/../../..
LIBGELIBOOT= ${BOOTOBJ}/geli/libgeliboot.a
.PATH: ${.CURDIR}/../../../opencrypto
diff --git a/sys/boot/i386/gptzfsboot/Makefile b/sys/boot/i386/gptzfsboot/Makefile
index cd3d79e4d6983..08017b2e24c67 100644
--- a/sys/boot/i386/gptzfsboot/Makefile
+++ b/sys/boot/i386/gptzfsboot/Makefile
@@ -50,7 +50,7 @@ CFLAGS+= -DSKEIN_LOOP=111
.if ${LOADER_GELI_SUPPORT:Uyes} == "yes"
CFLAGS+= -DLOADER_GELI_SUPPORT
-CFLAGS+= -I${BOOTDIR}/geli
+CFLAGS+= -I${BOOTSRC}/geli
LIBGELIBOOT= ${BOOTOBJ}/geli/libgeliboot.a
.PATH: ${.CURDIR}/../../../opencrypto
OPENCRYPTO_XTS= xform_aes_xts.o
diff --git a/sys/boot/i386/libi386/Makefile b/sys/boot/i386/libi386/Makefile
index d53d387ef7ad8..b29808f37c35d 100644
--- a/sys/boot/i386/libi386/Makefile
+++ b/sys/boot/i386/libi386/Makefile
@@ -28,7 +28,7 @@ CFLAGS+= -DDISK_DEBUG
.if ${LOADER_GELI_SUPPORT:Uyes} == "yes"
# Decrypt encrypted drives
CFLAGS+= -DLOADER_GELI_SUPPORT
-CFLAGS+= -I${BOOTDIR}/geli
+CFLAGS+= -I${BOOTSRC}/geli
.endif
.if !defined(BOOT_HIDE_SERIAL_NUMBERS)
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index b626711f27efc..a602648dc6487 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -42,7 +42,7 @@ HAVE_ISABUS= yes
.if ${LOADER_GELI_SUPPORT:Uyes} == "yes"
CFLAGS+= -DLOADER_GELI_SUPPORT
-CFLAGS+= -I${BOOTDIR}/geli
+CFLAGS+= -I${BOOTSRC}/geli
LIBGELIBOOT= ${BOOTOBJ}/geli/libgeliboot.a
.PATH: ${.CURDIR}/../../../opencrypto
SRCS+= xform_aes_xts.c
@@ -80,7 +80,7 @@ ${LOADER}.bin: ${LOADER}.sym
strip -R .comment -R .note -o ${.TARGET} ${.ALLSRC}
loader.help: help.common help.i386
- cat ${.ALLSRC} | awk -f ${LDR_MI}/merge_help.awk > ${.TARGET}
+ cat ${.ALLSRC} | awk -f ${LDRSRC}/merge_help.awk > ${.TARGET}
FILES= ${LOADER}
# XXX INSTALLFLAGS_loader= -b
diff --git a/sys/boot/loader.mk b/sys/boot/loader.mk
index a501d69a7ade1..26eda97df66de 100644
--- a/sys/boot/loader.mk
+++ b/sys/boot/loader.mk
@@ -2,9 +2,9 @@
.include "defs.mk"
-.PATH: ${LDR_MI} ${BOOTDIR}/libsa
+.PATH: ${LDRSRC} ${BOOTSRC}/libsa
-CFLAGS+=-I${LDR_MI}
+CFLAGS+=-I${LDRSRC}
SRCS+= boot.c commands.c console.c devopen.c interp.c
SRCS+= interp_backslash.c interp_parse.c ls.c misc.c
@@ -58,7 +58,7 @@ SRCS+= pnp.c
# Forth interpreter
.if ${MK_FORTH} != "no"
SRCS+= interp_forth.c
-.include "${BOOTDIR}/ficl.mk"
+.include "${BOOTSRC}/ficl.mk"
.endif
.if defined(BOOT_PROMPT_123)
@@ -74,6 +74,6 @@ VERSION_FILE?= ${.CURDIR}/version
.if ${MK_REPRODUCIBLE_BUILD} != no
REPRO_FLAG= -r
.endif
-vers.c: ${LDR_MI}/newvers.sh ${VERSION_FILE}
- sh ${LDR_MI}/newvers.sh ${REPRO_FLAG} ${VERSION_FILE} \
+vers.c: ${LDRSRC}/newvers.sh ${VERSION_FILE}
+ sh ${LDRSRC}/newvers.sh ${REPRO_FLAG} ${VERSION_FILE} \
${NEWVERSWHAT}
diff --git a/sys/boot/mips/beri/loader/Makefile b/sys/boot/mips/beri/loader/Makefile
index b5aa09b779b50..bd85ef8d1dc55 100644
--- a/sys/boot/mips/beri/loader/Makefile
+++ b/sys/boot/mips/beri/loader/Makefile
@@ -96,7 +96,7 @@ LDADD= ${LIBFICL} ${LIBSA}
loader.help: help.common help.mips
cat ${.ALLSRC} | \
- awk -f ${LDR_MI}/merge_help.awk > ${.TARGET}
+ awk -f ${LDRSRC}/merge_help.awk > ${.TARGET}
.PATH: ${.CURDIR}/../../../forth
.include "${.CURDIR}/../../../forth/Makefile.inc"
diff --git a/sys/boot/mips/uboot/Makefile b/sys/boot/mips/uboot/Makefile
index fddeabbb86828..1084a6c8396e9 100644
--- a/sys/boot/mips/uboot/Makefile
+++ b/sys/boot/mips/uboot/Makefile
@@ -45,7 +45,7 @@ OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
loader.help: help.common help.uboot ${.CURDIR}/../../fdt/help.fdt
cat ${.ALLSRC} | \
- awk -f ${LDR_MI}/merge_help.awk > ${.TARGET}
+ awk -f ${LDRSRC}/merge_help.awk > ${.TARGET}
ldscript.abs:
echo "UBLDR_LOADADDR = ${UBLDR_LOADADDR};" >${.TARGET}
diff --git a/sys/boot/powerpc/kboot/Makefile b/sys/boot/powerpc/kboot/Makefile
index d579f3110bfe7..6a077739489c4 100644
--- a/sys/boot/powerpc/kboot/Makefile
+++ b/sys/boot/powerpc/kboot/Makefile
@@ -62,7 +62,7 @@ LDADD= ${LIBFICL} ${LIBOFW} ${LIBFDT} ${LIBSA32}
loader.help: help.common help.kboot ${.CURDIR}/../../fdt/help.fdt
cat ${.ALLSRC} | \
- awk -f ${LDR_MI}/merge_help.awk > ${.TARGET}
+ awk -f ${LDRSRC}/merge_help.awk > ${.TARGET}
.PATH: ${.CURDIR}/../../forth
.include "${.CURDIR}/../../forth/Makefile.inc"
diff --git a/sys/boot/powerpc/ofw/Makefile b/sys/boot/powerpc/ofw/Makefile
index 4471507c8419a..568f665d6613e 100644
--- a/sys/boot/powerpc/ofw/Makefile
+++ b/sys/boot/powerpc/ofw/Makefile
@@ -62,7 +62,7 @@ LDADD= ${LIBFICL} ${LIBOFW} ${LIBFDT} ${LIBSA32}
loader.help: help.common help.ofw ${.CURDIR}/../../fdt/help.fdt
cat ${.ALLSRC} | \
- awk -f ${LDR_MI}/merge_help.awk > ${.TARGET}
+ awk -f ${LDRSRC}/merge_help.awk > ${.TARGET}
.PATH: ${.CURDIR}/../../forth
.include "${.CURDIR}/../../forth/Makefile.inc"
diff --git a/sys/boot/powerpc/ps3/Makefile b/sys/boot/powerpc/ps3/Makefile
index 246d1f4ae0d12..87255baa11422 100644
--- a/sys/boot/powerpc/ps3/Makefile
+++ b/sys/boot/powerpc/ps3/Makefile
@@ -63,7 +63,7 @@ font.h:
loader.help: help.common help.ps3 ${.CURDIR}/../../fdt/help.fdt
cat ${.ALLSRC} | \
- awk -f ${LDR_MI}/merge_help.awk > ${.TARGET}
+ awk -f ${LDRSRC}/merge_help.awk > ${.TARGET}
.PATH: ${.CURDIR}/../../forth
.include "${.CURDIR}/../../forth/Makefile.inc"
diff --git a/sys/boot/powerpc/uboot/Makefile b/sys/boot/powerpc/uboot/Makefile
index 2a26bad8f840c..f15208212e080 100644
--- a/sys/boot/powerpc/uboot/Makefile
+++ b/sys/boot/powerpc/uboot/Makefile
@@ -41,7 +41,7 @@ LDADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} ${LIBSA32}
loader.help: help.common help.uboot ${.CURDIR}/../../fdt/help.fdt
cat ${.ALLSRC} | \
- awk -f ${LDR_MI}/merge_help.awk > ${.TARGET}
+ awk -f ${LDRSRC}/merge_help.awk > ${.TARGET}
.PATH: ${.CURDIR}/../../forth
FILES= loader.help
diff --git a/sys/boot/sparc64/loader/Makefile b/sys/boot/sparc64/loader/Makefile
index 4642c111c5f8e..683f7b3c9602c 100644
--- a/sys/boot/sparc64/loader/Makefile
+++ b/sys/boot/sparc64/loader/Makefile
@@ -55,7 +55,7 @@ LDADD= ${LIBFICL} ${LIBZFSBOOT} ${LIBOFW} ${LIBSA}
loader.help: help.common help.sparc64
cat ${.ALLSRC} | \
- awk -f ${LDR_MI}/merge_help.awk > ${.TARGET}
+ awk -f ${LDRSRC}/merge_help.awk > ${.TARGET}
.PATH: ${.CURDIR}/../../forth
.include "${.CURDIR}/../../forth/Makefile.inc"