diff mbox

[1/2] linux-generic: netmap: Fixed Makefile.am

Message ID 1409744502-32304-2-git-send-email-ciprian.barbu@linaro.org
State Accepted
Commit 5a6a866aa326e2290ffad7a8718a4af61f10d163
Headers show

Commit Message

Ciprian Barbu Sept. 3, 2014, 11:41 a.m. UTC
Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org>
---
 platform/linux-generic/Makefile.am | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Mike Holmes Sept. 3, 2014, 10:12 p.m. UTC | #1
Are there any instructions on how to build with netmap ?


On 3 September 2014 07:41, Ciprian Barbu <ciprian.barbu@linaro.org> wrote:

> Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org>
> ---
>  platform/linux-generic/Makefile.am | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/platform/linux-generic/Makefile.am
> b/platform/linux-generic/Makefile.am
> index 949b8d1..25c82ea 100644
> --- a/platform/linux-generic/Makefile.am
> +++ b/platform/linux-generic/Makefile.am
> @@ -73,3 +73,8 @@ __LIB__libodp_la_SOURCES = \
>                            odp_ticketlock.c \
>                            odp_time.c \
>                            odp_timer.c
> +
> +if ODP_NETMAP_ENABLED
> +__LIB__libodp_la_SOURCES += \
> +                          odp_packet_netmap.c
> +endif
> --
> 1.8.3.2
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Maxim Uvarov Sept. 4, 2014, 8:53 a.m. UTC | #2
On 09/04/2014 02:12 AM, Mike Holmes wrote:
> Are there any instructions on how to build with netmap ?
>

./configure --enable-netmap CFLAGS="-I$PWD/../netmap.git/sys"
make


>
> On 3 September 2014 07:41, Ciprian Barbu <ciprian.barbu@linaro.org 
> <mailto:ciprian.barbu@linaro.org>> wrote:
>
>     Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org
>     <mailto:ciprian.barbu@linaro.org>>
>     ---
>      platform/linux-generic/Makefile.am | 5 +++++
>      1 file changed, 5 insertions(+)
>
>     diff --git a/platform/linux-generic/Makefile.am
>     b/platform/linux-generic/Makefile.am
>     index 949b8d1..25c82ea 100644
>     --- a/platform/linux-generic/Makefile.am
>     +++ b/platform/linux-generic/Makefile.am
>     @@ -73,3 +73,8 @@ __LIB__libodp_la_SOURCES = \
>                                odp_ticketlock.c \
>                                odp_time.c \
>                                odp_timer.c
>     +
>     +if ODP_NETMAP_ENABLED
>     +__LIB__libodp_la_SOURCES += \
>     +                          odp_packet_netmap.c
>     +endif
>     --
>     1.8.3.2
>
>
>     _______________________________________________
>     lng-odp mailing list
>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>     http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
>
> -- 
> *Mike Holmes*
> Linaro Technical Manager / Lead
> LNG - ODP
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
diff mbox

Patch

diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am
index 949b8d1..25c82ea 100644
--- a/platform/linux-generic/Makefile.am
+++ b/platform/linux-generic/Makefile.am
@@ -73,3 +73,8 @@  __LIB__libodp_la_SOURCES = \
 			   odp_ticketlock.c \
 			   odp_time.c \
 			   odp_timer.c
+
+if ODP_NETMAP_ENABLED
+__LIB__libodp_la_SOURCES += \
+			   odp_packet_netmap.c
+endif