<p>Martin Roth has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/28365">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">util/nvidia: Change ENODATA to ENOATTR for FreeBSD<br><br>FreeBSD doesn't have ENODATA defined, so the cbootimage utility wouldn't<br>build.  It looks like the BSDs use ENOATTR in the same fashion, so<br>update the error to use that.<br><br>Change-Id: Ic70710d5726476755585fd1a3ae3f256a430e8df<br>Signed-off-by: Martin Roth <martinr@coreboot.org><br>---<br>M util/nvidia/Makefile.inc<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/28365/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/util/nvidia/Makefile.inc b/util/nvidia/Makefile.inc</span><br><span>index 133778f..1894fad 100644</span><br><span>--- a/util/nvidia/Makefile.inc</span><br><span>+++ b/util/nvidia/Makefile.inc</span><br><span>@@ -43,6 +43,10 @@</span><br><span> CBOOTIMAGE_OBJS:=$(addprefix $(objutil)/nvidia/cbootimage/,$(patsubst %.c,%.o,$(filter %.c,$(CBOOTIMAGE_RAW_SRCS))))</span><br><span> CBOOTIMAGE_FLAGS:=-Wall -std=c99 -O2</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ifeq ($(OS_ARCH), FreeBSD)</span><br><span style="color: hsl(120, 100%, 40%);">+CBOOTIMAGE_FLAGS:=-DENODATA=ENOATTR</span><br><span style="color: hsl(120, 100%, 40%);">+endif</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> additional-dirs += $(sort $(dir $(CBOOTIMAGE_OBJS)))</span><br><span> </span><br><span> $(objutil)/nvidia/cbootimage/%.o: util/nvidia/cbootimage/src/%.c</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/28365">change 28365</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/28365"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ic70710d5726476755585fd1a3ae3f256a430e8df </div>
<div style="display:none"> Gerrit-Change-Number: 28365 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Martin Roth <martinroth@google.com> </div>