Deleted Added
full compact
Makefile.inc1 (208964) Makefile.inc1 (209128)
1#
1#
2# $FreeBSD: head/Makefile.inc1 208964 2010-06-09 19:57:20Z rdivacky $
2# $FreeBSD: head/Makefile.inc1 209128 2010-06-13 13:02:43Z raj $
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# -DNO_SHARE do not go into share subdir
8# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}
9# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
10# -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel

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

963 lib/clang/libllvmsystem \
964 usr.bin/clang/tblgen
965
966.if ${MK_CDDL} != "no"
967_dtrace_tools= cddl/usr.bin/sgsmsg cddl/lib/libctf lib/libelf \
968 lib/libdwarf cddl/usr.bin/ctfconvert cddl/usr.bin/ctfmerge
969.endif
970
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# -DNO_SHARE do not go into share subdir
8# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}
9# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
10# -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel

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

963 lib/clang/libllvmsystem \
964 usr.bin/clang/tblgen
965
966.if ${MK_CDDL} != "no"
967_dtrace_tools= cddl/usr.bin/sgsmsg cddl/lib/libctf lib/libelf \
968 lib/libdwarf cddl/usr.bin/ctfconvert cddl/usr.bin/ctfmerge
969.endif
970
971.if ${MK_FDT} != "no"
972_dtc= gnu/usr.bin/dtc
973.endif
974
971bootstrap-tools:
972.for _tool in \
973 ${_clang_tblgen} \
974 ${_dtrace_tools} \
975 ${_strfile} \
976 ${_gperf} \
977 ${_groff} \
978 ${_ar} \
975bootstrap-tools:
976.for _tool in \
977 ${_clang_tblgen} \
978 ${_dtrace_tools} \
979 ${_strfile} \
980 ${_gperf} \
981 ${_groff} \
982 ${_ar} \
983 ${_dtc} \
979 usr.bin/lorder \
980 usr.bin/makewhatis \
981 ${_mklocale} \
982 usr.bin/rpcgen \
983 ${_sed} \
984 ${_lex} \
985 ${_yacc} \
986 usr.bin/xinstall \

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

1443 ${_+_}cd ${XDDESTDIR}/usr/bin; \
1444 for i in *; do \
1445 ln -sf ../../${XDTP}/usr/bin/$$i \
1446 ../../../../usr/bin/${XDDIR}-$$i; \
1447 ln -sf ../../${XDTP}/usr/bin/$$i \
1448 ../../../../usr/bin/${XDDIR}${OSREL}-$$i; \
1449 done
1450.endif
984 usr.bin/lorder \
985 usr.bin/makewhatis \
986 ${_mklocale} \
987 usr.bin/rpcgen \
988 ${_sed} \
989 ${_lex} \
990 ${_yacc} \
991 usr.bin/xinstall \

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

1448 ${_+_}cd ${XDDESTDIR}/usr/bin; \
1449 for i in *; do \
1450 ln -sf ../../${XDTP}/usr/bin/$$i \
1451 ../../../../usr/bin/${XDDIR}-$$i; \
1452 ln -sf ../../${XDTP}/usr/bin/$$i \
1453 ../../../../usr/bin/${XDDIR}${OSREL}-$$i; \
1454 done
1455.endif
1456
1457.if !empty(KRNLOBJDIR) && !empty(KERNCONF)
1458DTBOUTPUTPATH= ${KRNLOBJDIR}/${KERNCONF}/
1459
1460.if !defined(FDT_DTS_FILE) || empty(FDT_DTS_FILE)
1461FDT_DTS_FILE!= grep "^makeoptions[[:space:]]\+FDT_DTS_FILE" \
1462 ${KERNCONFDIR}/${KERNCONF} 2> /dev/null | cut -d= -f2
1463.endif
1464
1465.endif
1466
1467.if !defined(DTBOUTPUTPATH) || !exists(${DTBOUTPUTPATH})
1468DTBOUTPUTPATH= ${.CURDIR}
1469.endif
1470
1471#
1472# Build 'standalone' Device Tree Blob
1473#
1474builddtb:
1475 @if [ "${FDT_DTS_FILE}" = "" ]; then \
1476 echo "ERROR: FDT_DTS_FILE must be specified!"; \
1477 exit 1; \
1478 fi; \
1479 if [ ! -f ${.CURDIR}/sys/boot/fdt/dts/${FDT_DTS_FILE} ]; then \
1480 echo "ERROR: Specified DTS file (${FDT_DTS_FILE}) does not \
1481 exist!"; \
1482 exit 1; \
1483 fi; \
1484 if [ "${DTBOUTPUTPATH}" = "${.CURDIR}" ]; then \
1485 echo "WARNING: DTB will be placed in the current working \
1486 directory"; \
1487 fi
1488 @PATH=${TMPPATH} \
1489 dtc -O dtb -o \
1490 ${DTBOUTPUTPATH}/`echo ${FDT_DTS_FILE} | cut -d. -f1`.dtb -b 0 \
1491 -p 1024 ${.CURDIR}/sys/boot/fdt/dts/${FDT_DTS_FILE}