summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/rtems/bsd/local
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-17 13:49:44 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-23 14:55:15 +0100
commit1342fad09c897f2bec6780d96cfb550ba395eb9d (patch)
tree2e5e1c5a34598dfcc47576f7df9dfa897c8cbb00 /rtemsbsd/include/rtems/bsd/local
parentdpaa: Support FQ_TYPE_RX_PCD (diff)
downloadrtems-libbsd-1342fad09c897f2bec6780d96cfb550ba395eb9d.tar.bz2
dpaa: Add and use SDK_DPAA_COMPAT_STATIC
Update #3277.
Diffstat (limited to 'rtemsbsd/include/rtems/bsd/local')
-rw-r--r--rtemsbsd/include/rtems/bsd/local/opt_dpaa.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h b/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h
index a369fca2..bb9fb7af 100644
--- a/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h
+++ b/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h
@@ -1,4 +1,5 @@
#include <bsp.h>
+
#ifdef LIBBSP_POWERPC_QORIQ_BSP_H
#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
#include <bsp/qoriq.h>
@@ -6,6 +7,14 @@
#else
#define QORIQ_CHIP_IS_T_VARIANT(x) 0
#endif
+
+#ifdef QORIQ_IS_HYPERVISOR_GUEST
+#define SDK_DPAA_COMPAT_STATIC
+#else
+#define SDK_DPAA_COMPAT_STATIC static
+#endif
+
#undef __ppc_generic
#define __ppc_generic
+
#define KBUILD_MODNAME "dpaa"