: ${OBJ_LLVM=${NETBSDSRCDIR}/../obj_llvm.${ARCH}}
: ${OBJ=${NETBSDSRCDIR}/../obj.${ARCH}}
: ${CROSS_TOOLS=${OBJ}/"tooldir.`uname -s`-`uname -r`-`uname -m`"/bin}
+: ${MAKE=make}
echo ${NETBSDSRCDIR}
echo ${LLVMSRCDIR}
--disable-debug-symbols \
--enable-assertions \
--enable-bindings=none \
- llvm_cv_gnu_make_command=make \
+ llvm_cv_gnu_make_command=${MAKE} \
ac_cv_path_CIRCO="echo circo" \
ac_cv_path_DOT="echo dot" \
ac_cv_path_DOTTY="echo dotty" \
ac_cv_path_XDOT="echo xdot" \
--enable-optimized
-make -j ${JOBS}
+${MAKE} -j ${JOBS}
# Copy the gold plugin where the NetBSD build system expects it.
mkdir -p ${NETBSDSRCDIR}/minix/llvm/bin/
# Generate and Install default MINIX passes
cd ${NETBSDSRCDIR}/minix/llvm/passes/WeakAliasModuleOverride
-make install
+${MAKE} install
cd ${NETBSDSRCDIR}/minix/llvm/passes/hello
-make install
+${MAKE} install
cd ${NETBSDSRCDIR}/minix/llvm/passes/sectionify
-make install
+${MAKE} install
cd ${NETBSDSRCDIR}/minix/llvm/passes/magic
-make install
+${MAKE} install
cd ${NETBSDSRCDIR}/minix/llvm/passes/asr
-make install
+${MAKE} install