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:
74dfcac
)
mk: minor changes
author
Intel
<intel.com>
Wed, 19 Dec 2012 23:00:00 +0000
(
00:00
+0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 25 Jul 2013 13:01:57 +0000
(15:01 +0200)
Signed-off-by: Intel
mk/machine/native/rte.vars.mk
patch
|
blob
|
history
diff --git
a/mk/machine/native/rte.vars.mk
b/mk/machine/native/rte.vars.mk
index
7208265
..
316e119
100644
(file)
--- a/
mk/machine/native/rte.vars.mk
+++ b/
mk/machine/native/rte.vars.mk
@@
-57,54
+57,54
@@
# CPU_ASFLAGS =
MACHINE_CFLAGS = -march=native
# CPU_ASFLAGS =
MACHINE_CFLAGS = -march=native
-AUTO_CPUFLAGS = $(shell
cat /proc/cpuinfo | grep flags -m 1
)
+AUTO_CPUFLAGS = $(shell
grep -m 1 flags /proc/cpuinfo
)
# adding flags to CPUFLAGS
ifneq ($(filter $(AUTO_CPUFLAGS),sse),)
# adding flags to CPUFLAGS
ifneq ($(filter $(AUTO_CPUFLAGS),sse),)
-
CPUFLAGS += SSE
+CPUFLAGS += SSE
endif
ifneq ($(filter $(AUTO_CPUFLAGS),sse2),)
endif
ifneq ($(filter $(AUTO_CPUFLAGS),sse2),)
-
CPUFLAGS += SSE2
+CPUFLAGS += SSE2
endif
ifneq ($(filter $(AUTO_CPUFLAGS),sse3),)
endif
ifneq ($(filter $(AUTO_CPUFLAGS),sse3),)
-
CPUFLAGS += SSE3
+CPUFLAGS += SSE3
endif
ifneq ($(filter $(AUTO_CPUFLAGS),ssse3),)
endif
ifneq ($(filter $(AUTO_CPUFLAGS),ssse3),)
-
CPUFLAGS += SSSE3
+CPUFLAGS += SSSE3
endif
ifneq ($(filter $(AUTO_CPUFLAGS),sse4_1),)
endif
ifneq ($(filter $(AUTO_CPUFLAGS),sse4_1),)
-
CPUFLAGS += SSE4_1
+CPUFLAGS += SSE4_1
endif
ifneq ($(filter $(AUTO_CPUFLAGS),sse4_2),)
endif
ifneq ($(filter $(AUTO_CPUFLAGS),sse4_2),)
-
CPUFLAGS += SSE4_2
+CPUFLAGS += SSE4_2
endif
ifneq ($(filter $(AUTO_CPUFLAGS),aes),)
endif
ifneq ($(filter $(AUTO_CPUFLAGS),aes),)
-
CPUFLAGS += AES
+CPUFLAGS += AES
endif
ifneq ($(filter $(AUTO_CPUFLAGS),pclmulqdq),)
endif
ifneq ($(filter $(AUTO_CPUFLAGS),pclmulqdq),)
-
CPUFLAGS += PCLMULQDQ
+CPUFLAGS += PCLMULQDQ
endif
ifneq ($(filter $(AUTO_CPUFLAGS),avx),)
endif
ifneq ($(filter $(AUTO_CPUFLAGS),avx),)
-
CPUFLAGS += AVX
+CPUFLAGS += AVX
endif
ifneq ($(filter $(AUTO_CPUFLAGS),rdrnd),)
endif
ifneq ($(filter $(AUTO_CPUFLAGS),rdrnd),)
-
CPUFLAGS += RDRAND
+CPUFLAGS += RDRAND
endif
ifneq ($(filter $(AUTO_CPUFLAGS),fsgsbase),)
endif
ifneq ($(filter $(AUTO_CPUFLAGS),fsgsbase),)
-
CPUFLAGS += FSGSBASE
+CPUFLAGS += FSGSBASE
endif
ifneq ($(filter $(AUTO_CPUFLAGS),f16c),)
endif
ifneq ($(filter $(AUTO_CPUFLAGS),f16c),)
- CPUFLAGS += F16C
-endif
\ No newline at end of file
+CPUFLAGS += F16C
+endif