Makefile.inc1 (9229b1797a95d2bb9da52ff19fcf6d6b1c21393b) | Makefile.inc1 (1fdcc5e5c0dfd70bdd34c02e9e24b8496706fd95) |
---|---|
1# 2# $FreeBSD$ 3# 4# Make command line options: 5# -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir 6# -DNO_CLEAN do not clean at all 7# -DDB_FROM_SRC use the user/group databases in src/etc instead of 8# the system database when installing. --- 158 unchanged lines hidden (view full) --- 167REVISION!= ${MAKE} -C ${SRCDIR}/release -V REVISION 168BRANCH!= ${MAKE} -C ${SRCDIR}/release -V BRANCH 169SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \ 170 ${SRCDIR}/sys/sys/param.h 171VERSION= FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDATE} 172.export VERSION 173.endif 174 | 1# 2# $FreeBSD$ 3# 4# Make command line options: 5# -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir 6# -DNO_CLEAN do not clean at all 7# -DDB_FROM_SRC use the user/group databases in src/etc instead of 8# the system database when installing. --- 158 unchanged lines hidden (view full) --- 167REVISION!= ${MAKE} -C ${SRCDIR}/release -V REVISION 168BRANCH!= ${MAKE} -C ${SRCDIR}/release -V BRANCH 169SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \ 170 ${SRCDIR}/sys/sys/param.h 171VERSION= FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDATE} 172.export VERSION 173.endif 174 |
175KNOWN_ARCHES?= aarch64/arm64 amd64 arm armeb/arm armv6/arm armv6hf/arm i386 i386/pc98 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64 | 175KNOWN_ARCHES?= aarch64/arm64 amd64 arm armeb/arm armv6/arm armv6hf/arm \ 176 i386 i386/pc98 mips mipsel/mips mips64el/mips mips64/mips \ 177 mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc \ 178 riscv64/riscv sparc64 179 |
176.if ${TARGET} == ${TARGET_ARCH} 177_t= ${TARGET} 178.else 179_t= ${TARGET_ARCH}/${TARGET} 180.endif 181.for _t in ${_t} 182.if empty(KNOWN_ARCHES:M${_t}) 183.error Unknown target ${TARGET_ARCH}:${TARGET}. --- 2197 unchanged lines hidden --- | 180.if ${TARGET} == ${TARGET_ARCH} 181_t= ${TARGET} 182.else 183_t= ${TARGET_ARCH}/${TARGET} 184.endif 185.for _t in ${_t} 186.if empty(KNOWN_ARCHES:M${_t}) 187.error Unknown target ${TARGET_ARCH}:${TARGET}. --- 2197 unchanged lines hidden --- |