diff options
author | Hongjun Ni <hongjun.ni@intel.com> | 2017-01-22 23:41:33 +0800 |
---|---|---|
committer | Hongjun Ni <hongjun.ni@intel.com> | 2017-03-10 23:22:32 +0800 |
commit | a865240bfc157e06699319e39251e3653ca205f5 (patch) | |
tree | 7a85bd11ce162e2e2ad7220103b01ce207cf14ac /nsh-plugin/Makefile.am | |
parent | 3f3ac79b962de5c1be97c6fa7a0cd815379b419f (diff) |
Restructure code to support both md-type1 and md-type2
Basic support to both MD1 and MD2
MD1 configuration:
create nsh entry nsp 185 nsi 255 md-type 1 c1 1 c2 2 c3 3 c4 4 next-ethernet
MD2 configuration:
create nsh entry nsp 185 nsi 254 md-type 2 pot next-ethernet
Change-Id: Ide0fdc122d76cb6a55643a15febd985bd41981b0
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Signed-off-by: Vengada <venggovi@cisco.com>
Diffstat (limited to 'nsh-plugin/Makefile.am')
-rw-r--r-- | nsh-plugin/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nsh-plugin/Makefile.am b/nsh-plugin/Makefile.am index 05ec808..ffbfaa3 100644 --- a/nsh-plugin/Makefile.am +++ b/nsh-plugin/Makefile.am @@ -2,9 +2,9 @@ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -13,7 +13,7 @@ AUTOMAKE_OPTIONS = foreign subdir-objects SUBDIRS=java -AM_CFLAGS = -Wall -I@TOOLKIT_INCLUDE@ +AM_CFLAGS = -Wall -Werror -I@TOOLKIT_INCLUDE@ nsh_plugin_la_CPPFLAGS = -DDEBUG -g nsh_test_plugin_la_CPPFLAGS = -DDEBUG -g @@ -22,7 +22,7 @@ CPPFLAGS += -DDEBUG -g lib_LTLIBRARIES = nsh_plugin.la nsh_test_plugin.la nsh_plugin_la_SOURCES = nsh/nsh.c \ - vpp-api/nsh.api.h + vpp-api/nsh.api.h nsh_plugin_la_LDFLAGS = -module BUILT_SOURCES = vpp-api/nsh.api.h |