- lispd is the Locator/ID separation protocol daemon
-endef
-
-define Package/lispconf
- SECTION:=net
- CATEGORY:=Network
- TITLE:=Tool to query the LISP kernel module
- URL:=http://lisp.cisco.com/
-endef
-
-define Package/lispconf/description
- lispconf can be used to query the kernel module for
- information such as map-cache or database contents
-endef
-
-include $(INCLUDE_DIR)/kernel-defaults.mk
-
-ifdef CONFIG_PACKAGE_kmod-lisp
- define Build/Compile/lisp
- $(MAKE) $(KERNEL_MAKEOPTS) \
- SUBDIRS="$(PKG_BUILD_DIR)/lisp_mod" \
- modules
- endef
-endif
-
-ifdef CONFIG_PACKAGE_kmod-lisp-int
- define Build/Compile/lisp-int
- $(MAKE) $(KERNEL_MAKEOPTS) \
- SUBDIRS="$(PKG_BUILD_DIR)/lisp_int" \
- modules
- endef
-endif
-
-ifdef CONFIG_PACKAGE_lispd
- define Build/Compile/lispd
- +$(MAKE_VARS) \
- $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/lispd \
- $(MAKE_FLAGS)
- endef
-endif
-
-ifdef CONFIG_PACKAGE_lispconf
- define Build/Compile/lispconf
- +$(MAKE_VARS) \
- $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/lispconf \
- $(MAKE_FLAGS)
- endef
-endif
-
-define Build/Compile
- $(Build/Compile/lisp)
- $(Build/Compile/lisp-int)
- $(Build/Compile/lispd)
- $(Build/Compile/lispconf)
-endef
-
-define Package/lispconf/install
- $(INSTALL_DIR) $(1)/usr/sbin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/lispconf/lispconf $(1)/usr/sbin/