mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Reimplement r257525 such that it work with the historic FreeBSD make
implementation. This fixes the toolchain and kernel-toolchain targets when building from older FreeBSD versions where make is fmake. Reported by: luigi Sponsored by: DARPA/AFRL MFC after: 3 days
This commit is contained in:
parent
ce3ee1e7c4
commit
2fda6dbc97
1 changed files with 6 additions and 1 deletions
|
|
@ -31,7 +31,12 @@ CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
|
|||
CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\"
|
||||
CFLAGS+= -DSCRIPTDIR=\"${TOOLS_PREFIX}/usr/libdata\"
|
||||
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
|
||||
CFLAGS+= -DBINDIR=\"${BINDIR}\" -DTARGET_SYSTEM_ROOT=\"${TOOLS_PREFIX:U/}\"
|
||||
CFLAGS+= -DBINDIR=\"${BINDIR}\"
|
||||
.if defined(TOOLS_PREFIX)
|
||||
CFLAGS+= -DTARGET_SYSTEM_ROOT=\"${TOOLS_PREFIX}\"
|
||||
.else
|
||||
CFLAGS+= -DTARGET_SYSTEM_ROOT=\"/\"
|
||||
.endif
|
||||
CFLAGS+= -DTOOLBINDIR=\"${TOOLS_PREFIX}/${BINDIR}/libexec\"
|
||||
CFLAGS+= -D_GNU_SOURCE
|
||||
CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd
|
||||
|
|
|
|||
Loading…
Reference in a new issue