From 4bdd40c08ba4dd8ca9597cab29dbbb60c3de6f04 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 5 Dec 2013 12:17:09 +0000 Subject: odhcpd/6c: Add config menu for prefix class ext. SVN-Revision: 38996 --- package/network/ipv6/odhcp6c/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'package/network/ipv6') diff --git a/package/network/ipv6/odhcp6c/Makefile b/package/network/ipv6/odhcp6c/Makefile index 845dc57..bd794dc 100644 --- a/package/network/ipv6/odhcp6c/Makefile +++ b/package/network/ipv6/odhcp6c/Makefile @@ -21,6 +21,10 @@ PKG_MAINTAINER:=Steven Barth include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk +ifneq ($(CONFIG_PACKAGE_odhcp6c_ext_prefix_class),0) + CMAKE_OPTIONS += -DEXT_PREFIX_CLASS=$(CONFIG_PACKAGE_odhcp6c_ext_prefix_class) +endif + define Package/odhcp6c SECTION:=net CATEGORY:=Network @@ -28,6 +32,13 @@ define Package/odhcp6c DEPENDS:=+kmod-ipv6 endef +define Package/odhcp6c/config + config PACKAGE_odhcp6c_ext_prefix_class + int "Prefix Class Extension ID (0 = disabled)" + depends on PACKAGE_odhcp6c + default 0 +endef + define Package/odhcp6c/install $(INSTALL_DIR) $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/odhcp6c $(1)/usr/sbin/ -- cgit v1.1