summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.target3
-rwxr-xr-xbuild.sh8
2 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target
index ca0a740..f5db347 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -378,7 +378,8 @@ obj-y += $(addprefix ../, $(trace-obj-y))
obj-$(CONFIG_GDBSTUB_XML) += gdbstub-xml.o
#
-# Uh, ctfconvert and ctfmerge are in our paths... right...
+# Uh, ctfconvert and ctfmerge are in our paths... right... I promise I'll clean
+# this up.
#
ifeq ($(TRACE_BACKEND),dtrace)
diff --git a/build.sh b/build.sh
index 1d933e1..c66f29b 100755
--- a/build.sh
+++ b/build.sh
@@ -58,5 +58,13 @@ if [[ $? != 0 ]]; then
exit 1
fi
+
+#
+# Make sure ctf utilities are in our path
+#
+KERNEL_SOURCE=$(pwd)/../../illumos
+CTFBINDIR=$KERNEL_SOURCE/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386
+export PATH=$PATH:$CTFBINDIR
+
echo "==> Make"
gmake