diff options
-rw-r--r-- | Makefile.target | 3 | ||||
-rwxr-xr-x | build.sh | 8 |
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) @@ -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 |