Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2012 06:49:31 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232815 - head/sys/contrib/octeon-sdk
Message-ID:  <201203110649.q2B6nV7c097916@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmallett
Date: Sun Mar 11 06:49:31 2012
New Revision: 232815
URL: http://svn.freebsd.org/changeset/base/232815

Log:
  Do not try to use libfdt in FreeBSD.

Modified:
  head/sys/contrib/octeon-sdk/cvmx-helper-board.c

Modified: head/sys/contrib/octeon-sdk/cvmx-helper-board.c
==============================================================================
--- head/sys/contrib/octeon-sdk/cvmx-helper-board.c	Sun Mar 11 06:18:56 2012	(r232814)
+++ head/sys/contrib/octeon-sdk/cvmx-helper-board.c	Sun Mar 11 06:49:31 2012	(r232815)
@@ -73,11 +73,13 @@
 #include "cvmx-helper-util.h"
 #include "cvmx-helper-board.h"
 #include "cvmx-gpio.h"
+#if !defined(__FreeBSD__) || !defined(_KERNEL)
 #ifdef __U_BOOT__
 # include <libfdt.h>
 #else
 # include "libfdt/libfdt.h"
 #endif
+#endif
 #include "cvmx-swap.h"
 #endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203110649.q2B6nV7c097916>