84d9c625bf
- Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gmp, mpfr - build.sh: Replace params with show-params. This has been done as the make target has been renamed in the same way, while a new target named params has been added. This new target generates a file containing all the parameters, instead of printing it on the console. - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org) get getservbyport() out of the inner loop Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
26 lines
715 B
Text
26 lines
715 B
Text
# $NetBSD: Makefile.hacks,v 1.3 2013/05/01 19:56:47 matt Exp $
|
|
|
|
# some random crap we need in a few places
|
|
|
|
# these aren't necessary but are #include'd
|
|
FAKEHEADERS= ${EXTRA_FAKEHEADERS} insn-flags.h insn-constants.h sysroot-suffix.h
|
|
${FAKEHEADERS}:
|
|
${_MKTARGET_CREATE}
|
|
touch ${.TARGET}
|
|
tm.h ${SRCS}: ${FAKEHEADERS}
|
|
CLEANFILES+= ${FAKEHEADERS}
|
|
|
|
# arm.h wants MACHMODE aka "enum machine_mode" so we provide a hackful
|
|
# one here to help build libs before gcc itself is built.
|
|
|
|
# XXX arm hack
|
|
.if ${MACHINE_CPU} == "arm"
|
|
${OBJS}: insn-modes.h
|
|
# XXX XXX
|
|
${__DPSRCS.d}: insn-modes.h
|
|
insn-modes.h:
|
|
${_MKTARGET_CREATE}
|
|
echo "enum machine_mode { X };" > ${.TARGET}
|
|
DPSRCS+= insn-modes.h
|
|
CLEANFILES+= insn-modes.h
|
|
.endif
|