Home | History | Annotate | Download | only in src

Lines Matching refs:TOP

32 # Top level build wrapper, to build or cross-build NetBSD.
494 "the top level of source directory"
546 # At this point TOP=$PWD should just work, but let's be ultra safe.
547 TOP=$( (exec pwd -P 2>/dev/null) || (exec pwd 2>/dev/null) )
616 setmakeenv NETBSDSRCDIR "${TOP}"
622 *) KERNOBJDIR="${TOP}/${KERNOBJDIR}"
629 DISTRIBVER="$(${HOST_SH} ${TOP}/sys/conf/osrelease.sh)"
634 "NetBSD-$(${HOST_SH} ${TOP}/sys/conf/osrelease.sh -m)"
959 "${make}" -m ${TOP}/share/mk -s -B -f- _x_ <<EOF || return 1
1065 # ${TOP} if necessary. Also delete trailing "/", if any.
1079 val="${TOP}/${val%/}"
1323 TOP_objdir="${OPTARG}${TOP}"
1363 setmakeenv MAKEOBJDIR "\${.CURDIR:C,^$TOP,$OPTARG,}"
1603 MAKEFLAGS="-de -m ${TOP}/share/mk ${MAKEFLAGS}"
1757 "${MAKEOBJDIRPREFIX:+${MAKEOBJDIRPREFIX}${TOP}}" \
1758 "${TOP}" \
1759 "${TOP}/obj" \
1760 "${TOP}/obj.${MACHINE}"
1851 # The default value of TOOLDIR also depends on the location of the top
1853 # after making the top level object directory may produce different
1859 # 2. use the temporary nbmake to create the top level obj directory;
1907 ${HOST_SH} "${TOP}/tools/make/configure" ${configure_args} ||
1914 ${runcmd} cd "${TOP}"
1923 # Creates the top-level obj directory, because that
1939 elif [ -f "${TOP}/mk.conf" ]
1941 setmakeenv MAKECONF "${TOP}/mk.conf"
2001 # Create the top-level object directory.
2020 TOP_obj="$(getmakevar MAKEOBJDIRPREFIX)${TOP}"
2028 bomb "Can't create top level object directory" \
2031 ${runcmd} "${make}" -m "${TOP}/share/mk" obj NOSUBDIR= ||
2032 bomb "Can't create top level object directory" \
2040 ${runcmd} "${make}" -m "${TOP}/share/mk" obj NOSUBDIR= ||
2042 ${runcmd} cd "${TOP}"
2049 # This must be done after creating the top-level object directory.
2179 # before the top level obj dir was created.
2270 ${runcmd} cd "${TOP}" ||
2271 bomb "Failed to cd back to \"${TOP}\""
2373 -b "${kernelbuildpath}" -s "${TOP}/sys" ${configopts} \
2479 pkgroot="${TOP_objdir:-${TOP}}/pkgroot"
2485 # XXX See TOP= above regarding pwd -P.
2688 ${runcmd} cd "${TOP}" || bomb "cd to ${TOP} failed"