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:
@@ -1,8 +1,5 @@
|
|||||||
SRCS+= conf.c host_syscall.S amd64_tramp.S elf64_freebsd.c
|
SRCS+= conf.c host_syscall.S amd64_tramp.S elf64_freebsd.c
|
||||||
|
|
||||||
CFLAGS+= -I${SYSDIR}/contrib/dev/acpica/include
|
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
|
LDFLAGS= -nostdlib -static -T ${.CURDIR}/arch/${MACHINE_ARCH}/ldscript.amd64
|
||||||
|
|||||||
@@ -3,12 +3,6 @@ CFLAGS+= -mcpu=powerpc64
|
|||||||
SRCS+= conf.c ppc64_elf_freebsd.c host_syscall.S kerneltramp.S
|
SRCS+= conf.c ppc64_elf_freebsd.c host_syscall.S kerneltramp.S
|
||||||
SRCS+= ucmpdi2.c
|
SRCS+= ucmpdi2.c
|
||||||
|
|
||||||
# load address. set in linker script
|
|
||||||
RELOC?= 0x0
|
|
||||||
CFLAGS+= -DRELOC=${RELOC}
|
|
||||||
|
|
||||||
LDFLAGS= -nostdlib -static -T ${.CURDIR}/arch/${MACHINE_ARCH}/ldscript.powerpc
|
LDFLAGS= -nostdlib -static -T ${.CURDIR}/arch/${MACHINE_ARCH}/ldscript.powerpc
|
||||||
|
|
||||||
MK_PIE= no
|
MK_PIE= no
|
||||||
# Maybe bogus?
|
|
||||||
CFLAGS+= -DAIM
|
|
||||||
|
|||||||
Reference in New Issue
Block a user