diff mbox

fix makefile typo and tcpdump autoconf arguments

Message ID 1397838809-9009-1-git-send-email-vincent.hsu@linaro.org
State Accepted
Headers show

Commit Message

Vincent Hsu April 18, 2014, 4:33 p.m. UTC
Signed-off-by: Vincent Hsu <vincent.hsu@linaro.org>
---
Hi Maxim,

I can't find your patch for odp-app.git on the maillist. So I send this instead
of commenting for it. Maybe you can remake odp-app.git for prettier log,
Since it just has first commit.


 Makefile         |    2 +-
 libpcap/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Maxim Uvarov April 21, 2014, 11:38 a.m. UTC | #1
On 04/18/2014 08:33 PM, Vincent Hsu wrote:
> Signed-off-by: Vincent Hsu <vincent.hsu@linaro.org>
> ---
> Hi Maxim,
>
> I can't find your patch for odp-app.git on the maillist. So I send this instead
> of commenting for it. Maybe you can remake odp-app.git for prettier log,
> Since it just has first commit.

fixed, thanks.

Maxim.
>
>
>   Makefile         |    2 +-
>   libpcap/Makefile |    2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index aa4bea7..866c218 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -7,7 +7,7 @@ odp:
>   	if [ ! -d odp.git ]; \
>   		then git clone http://git.linaro.org/git/lng/odp.git odp.git; \
>   	fi
> -	cd odp.git; make CLAGS="-fPIC"; make install
> +	cd odp.git; make CFLAGS="-fPIC"; make install
>   
>   all: odp libpcap
>   
> diff --git a/libpcap/Makefile b/libpcap/Makefile
> index 1daae38..5a0a502 100644
> --- a/libpcap/Makefile
> +++ b/libpcap/Makefile
> @@ -54,7 +54,7 @@ clean_libpcap:
>   tcpdump: get_tcpdump libpcap
>   	cd $(TCPDUMP_DIR) \
>   	&& git checkout $(TCPDUMP_VERSION) \
> -	&& ./configure CC="gcc -lrt"
> +	&& ./configure LIBS="-lrt"
>   	$(MAKE) -C $(TCPDUMP_DIR)
>   
>   .PHONY: get_tcpdump
diff mbox

Patch

diff --git a/Makefile b/Makefile
index aa4bea7..866c218 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@  odp:
 	if [ ! -d odp.git ]; \
 		then git clone http://git.linaro.org/git/lng/odp.git odp.git; \
 	fi
-	cd odp.git; make CLAGS="-fPIC"; make install
+	cd odp.git; make CFLAGS="-fPIC"; make install
 
 all: odp libpcap 
 
diff --git a/libpcap/Makefile b/libpcap/Makefile
index 1daae38..5a0a502 100644
--- a/libpcap/Makefile
+++ b/libpcap/Makefile
@@ -54,7 +54,7 @@  clean_libpcap:
 tcpdump: get_tcpdump libpcap
 	cd $(TCPDUMP_DIR) \
 	&& git checkout $(TCPDUMP_VERSION) \
-	&& ./configure CC="gcc -lrt"
+	&& ./configure LIBS="-lrt"
 	$(MAKE) -C $(TCPDUMP_DIR)
 
 .PHONY: get_tcpdump