On Wed, Mar 20, 2013 at 10:06 AM, Kent Watsen <span dir="ltr"><<a href="mailto:kent@watsen.net" target="_blank">kent@watsen.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">But one thing I can't figure out is how to set the "PROTO_AREA"
variable. The original Makefile has:<br>
<blockquote><small><font face="Courier New, Courier, monospace">PROTO_AREA
= $(PWD)/../../../proto</font></small><br>
</blockquote>
and uses it on the following lines:<br>
<blockquote><b><small><font face="Courier New, Courier, monospace">$
grep PROTO_AREA Makefile </font></small></b><br>
<small><font face="Courier New, Courier, monospace">PROTO_AREA
= $(PWD)/../../../proto</font></small><br>
<small><font face="Courier New, Courier, monospace">CC =
$(PROTO_AREA)/usr/bin/gcc <font color="#ff0000">(I
explicitly set the CC variable above)</font></font></small><br>
<small><font face="Courier New, Courier, monospace">LD =
$(PROTO_AREA)/usr/bin/ld</font></small><br>
<small><font face="Courier New, Courier, monospace"> -isystem
$(PROTO_AREA)/usr/include \</font></small><br>
<small><font face="Courier New, Courier, monospace"> -isystem
$(PROTO_AREA)/usr/include \</font></small><br>
<small><font face="Courier New, Courier, monospace">
-L$(PROTO_AREA)/lib \</font></small><br>
<small><font face="Courier New, Courier, monospace">
-L$(PROTO_AREA)/usr/lib</font></small><br>
<small><font face="Courier New, Courier, monospace">
-L$(PROTO_AREA)/lib \</font></small><br>
<small><font face="Courier New, Courier, monospace">
-L$(PROTO_AREA)/usr/lib \</font></small><br>
</blockquote>
<br>
Searching /code for "proto" directories, I find:<br>
<blockquote><b><small><font face="Courier New, Courier, monospace">$
find /code -type d -name proto</font></small></b><br>
<small><font face="Courier New, Courier, monospace">/code/omnios-151004/illumos-omnios/usr/src/tools/proto</font></small><br>
<small><font face="Courier New, Courier, monospace">/code/omnios-151004/illumos-omnios/usr/src/cmd/sgs/proto</font></small><br>
<small><font face="Courier New, Courier, monospace">/code/omnios-151004/illumos-omnios/proto</font></small><br>
</blockquote>
But none of /usr/include, /lib, /usr/lib, or /usr/bin/ld exist under
any of these "proto" directories<br>
<br>
Any advice how to set this PROTO_AREA variable?<br></div></blockquote></div>
<p>/code/omnios-151005/illumos-omnios/proto/root_i386 is my proto root... but it might vary if you are building a debug kernel.<br></p>