diff options
| author | Warner Losh <imp@FreeBSD.org> | 2017-11-04 03:08:03 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2017-11-04 03:08:03 +0000 |
| commit | 6db64731d7cf710162afc3eff3ea15c71d2dabed (patch) | |
| tree | ca8437420642d2c2a35bfc8f4602523b3960335a /sys/boot | |
| parent | 796adb9625b7792d2bea9a65c8e5a898f5496d9d (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/defs.mk | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/sys/boot/defs.mk b/sys/boot/defs.mk index 942ad381732c..0115f4bc09b6 100644 --- a/sys/boot/defs.mk +++ b/sys/boot/defs.mk @@ -84,40 +84,6 @@ CFLAGS+= -DLOADER_MBR_SUPPORT .if ${LOADER_GELI_SUPPORT:Uyes} == "yes" CFLAGS+= -DLOADER_GELI_SUPPORT .endif - -_ILINKS=machine -.if ${MACHINE} != ${MACHINE_CPUARCH} && ${MACHINE} != "arm64" -_ILINKS+=${MACHINE_CPUARCH} -.endif -.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" -_ILINKS+=x86 -.endif -CLEANFILES+=${_ILINKS} - -all: ${PROG} - -beforedepend: ${_ILINKS} -beforebuild: ${_ILINKS} - -# Ensure that the links exist without depending on it when it exists which -# causes all the modules to be rebuilt when the directory pointed to changes. -.for _link in ${_ILINKS} -.if !exists(${.OBJDIR}/${_link}) -${OBJS}: ${_link} .endif -.endfor - -.NOPATH: ${_ILINKS} - -${_ILINKS}: - @case ${.TARGET} in \ - machine) \ - path=${SYSDIR}/${MACHINE}/include ;; \ - *) \ - path=${SYSDIR}/${.TARGET:T}/include ;; \ - esac ; \ - path=`(cd $$path && /bin/pwd)` ; \ - ${ECHO} ${.TARGET:T} "->" $$path ; \ - ln -fhs $$path ${.TARGET:T} .endif # __BOOT_DEFS_MK__ |
