git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i40e: enable Tx checksum only for offloaded packets
[dpdk.git]
/
lib
/
librte_pmd_vmxnet3
/
Makefile
diff --git
a/lib/librte_pmd_vmxnet3/Makefile
b/lib/librte_pmd_vmxnet3/Makefile
index
1f0f8e0
..
93e5580
100644
(file)
--- a/
lib/librte_pmd_vmxnet3/Makefile
+++ b/
lib/librte_pmd_vmxnet3/Makefile
@@
-1,12
+1,12
@@
# BSD LICENSE
# BSD LICENSE
-#
+#
# Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
# All rights reserved.
# Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
-#
+#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
@@
-16,7
+16,7
@@
# * Neither the name of Intel Corporation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
# * Neither the name of Intel Corporation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@
-43,21
+43,33
@@
ifeq ($(CC), icc)
#
# CFLAGS for icc
#
#
# CFLAGS for icc
#
-CFLAGS_LAD = -wd174 -wd593 -wd869 -wd981 -wd2259
-else
+CFLAGS_BASE_DRIVER = -wd174 -wd593 -wd869 -wd981 -wd2259
+
+else ifeq ($(CC), clang)
+#
+# CFLAGS for clang
+#
+CFLAGS_BASE_DRIVER = -Wno-unused-parameter -Wno-unused-value
+CFLAGS_BASE_DRIVER += -Wno-strict-aliasing -Wno-format-extra-args
+
+else
#
# CFLAGS for gcc
#
ifneq ($(shell test $(GCC_MAJOR_VERSION) -le 4 -a $(GCC_MINOR_VERSION) -le 3 && echo 1), 1)
CFLAGS += -Wno-deprecated
endif
#
# CFLAGS for gcc
#
ifneq ($(shell test $(GCC_MAJOR_VERSION) -le 4 -a $(GCC_MINOR_VERSION) -le 3 && echo 1), 1)
CFLAGS += -Wno-deprecated
endif
-CFLAGS_
LAD
= -Wno-unused-parameter -Wno-unused-value
-CFLAGS_
LAD
+= -Wno-strict-aliasing -Wno-format-extra-args
+CFLAGS_
BASE_DRIVER
= -Wno-unused-parameter -Wno-unused-value
+CFLAGS_
BASE_DRIVER
+= -Wno-strict-aliasing -Wno-format-extra-args
endif
VPATH += $(RTE_SDK)/lib/librte_pmd_vmxnet3/vmxnet3
endif
VPATH += $(RTE_SDK)/lib/librte_pmd_vmxnet3/vmxnet3
+EXPORT_MAP := rte_pmd_vmxnet3_version.map
+
+LIBABIVER := 1
+
#
# all source are stored in SRCS-y
#
#
# all source are stored in SRCS-y
#