aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-gpe/decap.c
AgeCommit message (Expand)AuthorFilesLines
2017-06-16LISP-GPE: add test CLI for NSHFilip Tehlar1-0/+49
2017-04-06Use thread local storage for thread indexDamjan Marion1-8/+8
2017-03-29LISP: fix IID in decapFilip Tehlar1-2/+2
2017-03-02Fix LISP Coverity warningFlorin Coras1-1/+1
2017-02-27Add GPE CLI/API for setting encap modeFilip Tehlar1-2/+9
2017-02-25Add NSH to GPE decap pathFlorin Coras1-0/+48
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1-0/+501
or: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/usr/bin/make -f
DH_VERBOSE = 1
PKG=vpp-dpdk

VERSION = $(shell dpkg-parsechangelog | sed -nr '/^Version:/s/Version: //p')
BASE_VER = $(word 1, $(subst -, ,$(VERSION)))

export DPDK_BUILD_DIR=$(CURDIR)/_build
export DPDK_INSTALL_DIR=$(CURDIR)/debian/tmp/usr

SRC=_build/dpdk-$(BASE_VER)

MAKE_ARGS=-C ..

include /usr/share/dpkg/default.mk

%:
	dh $@ --with dkms

override_dh_clean:
	make $(MAKE_ARGS) clean

override_dh_auto_configure:
	make $(MAKE_ARGS) config

override_dh_install:
	make $(MAKE_ARGS) install
	dh_install -p$(PKG)-dkms \
	  $(SRC)/lib/librte_eal/common/include/rte_pci_dev_feature_defs.h \
	  $(SRC)/lib/librte_eal/common/include/rte_pci_dev_features.h     \
	  $(SRC)/lib/librte_eal/linuxapp/igb_uio/igb_uio.c                \
	  $(SRC)/lib/librte_eal/linuxapp/igb_uio/compat.h                 \
	  debian/dkms/Makefile                                            \
	  /usr/src/$(PKG)-dkms-$(VERSION)
	dh_install -p$(PKG)-dev --autodest /usr

override_dh_dkms:
	dh_dkms -p$(PKG)-dkms -V $(VERSION)