kboot: Remove RELOC defines, it's unused

This was copied from powerpc/ofw and has never been used. We also don't
care about -DAIM. It's only relevant for in-kernel structures, which we
don't use in this userland program.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-07-27 23:11:12 -06:00
parent 3a1b966ae0
commit 309a263fe6
2 changed files with 0 additions and 9 deletions

View File

@ -1,8 +1,5 @@
SRCS+= conf.c host_syscall.S amd64_tramp.S elf64_freebsd.c
CFLAGS+= -I${SYSDIR}/contrib/dev/acpica/include
# load address. set in linker script
RELOC?= 0x0
CFLAGS+= -DRELOC=${RELOC}
LDFLAGS= -nostdlib -static -T ${.CURDIR}/arch/${MACHINE_ARCH}/ldscript.amd64

View File

@ -3,12 +3,6 @@ CFLAGS+= -mcpu=powerpc64
SRCS+= conf.c ppc64_elf_freebsd.c host_syscall.S kerneltramp.S
SRCS+= ucmpdi2.c
# load address. set in linker script
RELOC?= 0x0
CFLAGS+= -DRELOC=${RELOC}
LDFLAGS= -nostdlib -static -T ${.CURDIR}/arch/${MACHINE_ARCH}/ldscript.powerpc
MK_PIE= no
# Maybe bogus?
CFLAGS+= -DAIM