[API-NEXT] doc: drv: fix doxyfile for drv doc generation

Message ID 1471617983-44684-1-git-send-email-christophe.milard@linaro.org
State New
Headers show

Commit Message

Christophe Milard Aug. 19, 2016, 2:46 p.m.
Restricting to the driver interface and defining general macros.

Signed-off-by: Christophe Milard <christophe.milard@linaro.org>

---
 doc/driver-api-guide/Doxyfile | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

-- 
2.7.4

Comments

Maxim Uvarov Sept. 5, 2016, 7:10 p.m. | #1
Merged,
Maxim.

On 08/19/16 17:46, Christophe Milard wrote:
> Restricting to the driver interface and defining general macros.

>

> Signed-off-by: Christophe Milard <christophe.milard@linaro.org>

> ---

>   doc/driver-api-guide/Doxyfile | 13 ++++++++-----

>   1 file changed, 8 insertions(+), 5 deletions(-)

>

> diff --git a/doc/driver-api-guide/Doxyfile b/doc/driver-api-guide/Doxyfile

> index 680d1d4..b5f7260 100644

> --- a/doc/driver-api-guide/Doxyfile

> +++ b/doc/driver-api-guide/Doxyfile

> @@ -5,10 +5,13 @@ PROJECT_NUMBER = $(VERSION)

>   PROJECT_LOGO = $(SRCDIR)/doc/images/ODP-Logo-HQ.svg

>   INPUT = $(SRCDIR)/doc/driver-api-guide \

>   	$(SRCDIR)/include/odp/drv \

> +	$(SRCDIR)/platform/$(WITH_PLATFORM)/include/odp/drv \

>   	$(SRCDIR)/include/odp_drv.h

> -EXCLUDE_PATTERNS = drv* odp_drv.h

> -EXAMPLE_PATH = $(SRCDIR)/example $(SRCDIR)

>   PREDEFINED = __GNUC__ \

> -	     "ODP_HANDLE_T(type)=odp_handle_t type" \

> -	     odpdrv_bool_t=int

> -WARNINGS = NO

> +	     __attribute__(x)= \

> +	     ODPDRV_ALIGNED(x)= \

> +	     __BIG_ENDIAN_BITFIELD \

> +	     __LITTLE_ENDIAN_BITFIELD \

> +	     __x86_64__ \

> +	     ODPDRV_PACKED \

> +	     "ODPDRV_HANDLE_T(type)=odpdrv_handle_t type"

Patch

diff --git a/doc/driver-api-guide/Doxyfile b/doc/driver-api-guide/Doxyfile
index 680d1d4..b5f7260 100644
--- a/doc/driver-api-guide/Doxyfile
+++ b/doc/driver-api-guide/Doxyfile
@@ -5,10 +5,13 @@  PROJECT_NUMBER = $(VERSION)
 PROJECT_LOGO = $(SRCDIR)/doc/images/ODP-Logo-HQ.svg
 INPUT = $(SRCDIR)/doc/driver-api-guide \
 	$(SRCDIR)/include/odp/drv \
+	$(SRCDIR)/platform/$(WITH_PLATFORM)/include/odp/drv \
 	$(SRCDIR)/include/odp_drv.h
-EXCLUDE_PATTERNS = drv* odp_drv.h
-EXAMPLE_PATH = $(SRCDIR)/example $(SRCDIR)
 PREDEFINED = __GNUC__ \
-	     "ODP_HANDLE_T(type)=odp_handle_t type" \
-	     odpdrv_bool_t=int
-WARNINGS = NO
+	     __attribute__(x)= \
+	     ODPDRV_ALIGNED(x)= \
+	     __BIG_ENDIAN_BITFIELD \
+	     __LITTLE_ENDIAN_BITFIELD \
+	     __x86_64__ \
+	     ODPDRV_PACKED \
+	     "ODPDRV_HANDLE_T(type)=odpdrv_handle_t type"