Deleted Added
full compact
Makefile.inc1 (274807) Makefile.inc1 (275373)
1#
1#
2# $FreeBSD: head/Makefile.inc1 274807 2014-11-21 18:35:48Z brooks $
2# $FreeBSD: head/Makefile.inc1 275373 2014-12-01 17:49:42Z emaste $
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.
9# -DNO_SHARE do not go into share subdir
10# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}

--- 1399 unchanged lines hidden (view full) ---

1410.if ${TARGET_ARCH} == "i386" && defined(RELEASEDIR)
1411_kgzip= usr.sbin/kgzip
1412.endif
1413.endif
1414
1415# If we're given an XAS, don't build binutils.
1416.if ${XAS:M/*} == "" && ${MK_BINUTILS_BOOTSTRAP} != "no"
1417_binutils= gnu/usr.bin/binutils
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.
9# -DNO_SHARE do not go into share subdir
10# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}

--- 1399 unchanged lines hidden (view full) ---

1410.if ${TARGET_ARCH} == "i386" && defined(RELEASEDIR)
1411_kgzip= usr.sbin/kgzip
1412.endif
1413.endif
1414
1415# If we're given an XAS, don't build binutils.
1416.if ${XAS:M/*} == "" && ${MK_BINUTILS_BOOTSTRAP} != "no"
1417_binutils= gnu/usr.bin/binutils
1418.if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
1419_elftctools= lib/libelftc \
1420 usr.bin/addr2line \
1421 usr.bin/elfcopy \
1422 usr.bin/nm \
1423 usr.bin/size \
1424 usr.bin/strings
1418.endif
1425.endif
1426.endif
1419
1420# If an full path to an external cross compiler is given, don't build
1421# a cross compiler.
1422.if ${XCC:M/*} == "" && ${MK_CROSS_COMPILER} != "no"
1423.if ${MK_CLANG_BOOTSTRAP} != "no"
1424_clang= usr.bin/clang
1425_clang_libs= lib/clang
1426.endif
1427.if ${MK_GCC_BOOTSTRAP} != "no"
1428_cc= gnu/usr.bin/cc
1429.endif
1430.endif
1431
1432cross-tools: .MAKE
1433.for _tool in \
1434 ${_clang_libs} \
1435 ${_clang} \
1436 ${_binutils} \
1427
1428# If an full path to an external cross compiler is given, don't build
1429# a cross compiler.
1430.if ${XCC:M/*} == "" && ${MK_CROSS_COMPILER} != "no"
1431.if ${MK_CLANG_BOOTSTRAP} != "no"
1432_clang= usr.bin/clang
1433_clang_libs= lib/clang
1434.endif
1435.if ${MK_GCC_BOOTSTRAP} != "no"
1436_cc= gnu/usr.bin/cc
1437.endif
1438.endif
1439
1440cross-tools: .MAKE
1441.for _tool in \
1442 ${_clang_libs} \
1443 ${_clang} \
1444 ${_binutils} \
1445 ${_elftctools} \
1437 ${_cc} \
1438 usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint \
1439 ${_btxld} \
1440 ${_crunchide} \
1441 ${_kgzip} \
1442 sys/boot/usb/tools
1443 ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
1444 cd ${.CURDIR}/${_tool} && \

--- 41 unchanged lines hidden (view full) ---

1486 bin/realpath \
1487 bin/rm \
1488 bin/rmdir \
1489 bin/sh \
1490 bin/sleep \
1491 ${_clang_tblgen} \
1492 usr.bin/ar \
1493 ${_binutils} \
1446 ${_cc} \
1447 usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint \
1448 ${_btxld} \
1449 ${_crunchide} \
1450 ${_kgzip} \
1451 sys/boot/usb/tools
1452 ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
1453 cd ${.CURDIR}/${_tool} && \

--- 41 unchanged lines hidden (view full) ---

1495 bin/realpath \
1496 bin/rm \
1497 bin/rmdir \
1498 bin/sh \
1499 bin/sleep \
1500 ${_clang_tblgen} \
1501 usr.bin/ar \
1502 ${_binutils} \
1503 ${_elftctools} \
1494 ${_cc} \
1495 ${_gcc_tools} \
1496 ${_clang_libs} \
1497 ${_clang} \
1498 sbin/md5 \
1499 sbin/sysctl \
1500 gnu/usr.bin/diff \
1501 usr.bin/awk \

--- 538 unchanged lines hidden (view full) ---

2040
2041_xb-build-tools:
2042 ${_+_}@cd ${.CURDIR}; \
2043 ${CDBENV} ${MAKE} -f Makefile.inc1 ${NOFUN} build-tools
2044
2045_xb-cross-tools:
2046.for _tool in \
2047 ${_binutils} \
1504 ${_cc} \
1505 ${_gcc_tools} \
1506 ${_clang_libs} \
1507 ${_clang} \
1508 sbin/md5 \
1509 sbin/sysctl \
1510 gnu/usr.bin/diff \
1511 usr.bin/awk \

--- 538 unchanged lines hidden (view full) ---

2050
2051_xb-build-tools:
2052 ${_+_}@cd ${.CURDIR}; \
2053 ${CDBENV} ${MAKE} -f Makefile.inc1 ${NOFUN} build-tools
2054
2055_xb-cross-tools:
2056.for _tool in \
2057 ${_binutils} \
2058 ${_elftctools} \
2048 usr.bin/ar \
2049 ${_clang_libs} \
2050 ${_clang} \
2051 ${_cc}
2052 ${_+_}@${ECHODIR} "===> xdev ${_tool} (obj,depend,all)"; \
2053 cd ${.CURDIR}/${_tool} && \
2054 ${CDMAKE} DIRPRFX=${_tool}/ obj && \
2055 ${CDMAKE} DIRPRFX=${_tool}/ depend && \

--- 16 unchanged lines hidden (view full) ---

2072
2073.ORDER: xdev-build _xi-mtree _xi-cross-tools _xi-includes _xi-libraries
2074xdev-install: xdev-build _xi-mtree _xi-cross-tools _xi-includes _xi-libraries
2075
2076_xi-cross-tools:
2077 @echo "_xi-cross-tools"
2078.for _tool in \
2079 ${_binutils} \
2059 usr.bin/ar \
2060 ${_clang_libs} \
2061 ${_clang} \
2062 ${_cc}
2063 ${_+_}@${ECHODIR} "===> xdev ${_tool} (obj,depend,all)"; \
2064 cd ${.CURDIR}/${_tool} && \
2065 ${CDMAKE} DIRPRFX=${_tool}/ obj && \
2066 ${CDMAKE} DIRPRFX=${_tool}/ depend && \

--- 16 unchanged lines hidden (view full) ---

2083
2084.ORDER: xdev-build _xi-mtree _xi-cross-tools _xi-includes _xi-libraries
2085xdev-install: xdev-build _xi-mtree _xi-cross-tools _xi-includes _xi-libraries
2086
2087_xi-cross-tools:
2088 @echo "_xi-cross-tools"
2089.for _tool in \
2090 ${_binutils} \
2091 ${_elftctools} \
2080 usr.bin/ar \
2081 ${_clang_libs} \
2082 ${_clang} \
2083 ${_cc}
2084 ${_+_}@${ECHODIR} "===> xdev ${_tool} (install)"; \
2085 cd ${.CURDIR}/${_tool}; \
2086 ${CDMAKE} DIRPRFX=${_tool}/ install DESTDIR=${XDDESTDIR}
2087.endfor

--- 22 unchanged lines hidden ---
2092 usr.bin/ar \
2093 ${_clang_libs} \
2094 ${_clang} \
2095 ${_cc}
2096 ${_+_}@${ECHODIR} "===> xdev ${_tool} (install)"; \
2097 cd ${.CURDIR}/${_tool}; \
2098 ${CDMAKE} DIRPRFX=${_tool}/ install DESTDIR=${XDDESTDIR}
2099.endfor

--- 22 unchanged lines hidden ---