git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdfd5db
)
examples/dpdk_qat: fix cross compile check
author
Intel
<intel.com>
Mon, 3 Jun 2013 00:00:00 +0000
(
00:00
+0000)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Tue, 17 Sep 2013 12:16:09 +0000
(14:16 +0200)
Signed-off-by: Intel
examples/dpdk_qat/Makefile
patch
|
blob
|
history
diff --git
a/examples/dpdk_qat/Makefile
b/examples/dpdk_qat/Makefile
index
ed4c592
..
99f3b8b
100644
(file)
--- a/
examples/dpdk_qat/Makefile
+++ b/
examples/dpdk_qat/Makefile
@@
-49,12
+49,14
@@
please change the definition of the RTE_TARGET environment variable)
endif
LBITS := $(shell uname -p)
-ifneq ($(CONFIG_RTE_ARCH),"x86_64")
+ifeq ($(CROSS_COMPILE),)
+ ifneq ($(CONFIG_RTE_ARCH),"x86_64")
ifneq ($(LBITS),i686)
$(error The RTE_TARGET chosen is not compatible with this environment \
(x86_64), for this application. Please change the definition of the \
RTE_TARGET environment variable, or run the application on a 32-bit OS)
endif
+ endif
endif
# binary name