2013-10-03 11:59:45 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gluon-simple-tc
|
|
|
|
PKG_VERSION:=1
|
2014-01-04 08:19:13 +00:00
|
|
|
PKG_RELEASE:=1.$(GLUON_CONFIG_VERSION)
|
2013-10-03 11:59:45 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/gluon-simple-tc
|
|
|
|
SECTION:=gluon
|
|
|
|
CATEGORY:=Gluon
|
|
|
|
TITLE:=Bandwidth limit support
|
|
|
|
DEPENDS:=+gluon-core +tc +kmod-sched
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-simple-tc/description
|
|
|
|
Gluon community wifi mesh firmware framework: tc support
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-simple-tc/install
|
|
|
|
$(CP) ./files/* $(1)/
|
2014-02-06 18:57:39 +00:00
|
|
|
|
2014-01-19 22:33:52 +00:00
|
|
|
$(INSTALL_DIR) $(1)/lib/gluon/upgrade/simple-tc/invariant
|
2014-02-06 18:57:39 +00:00
|
|
|
$(GLUON_CONFIGURE) invariant.pl > $(1)/lib/gluon/upgrade/simple-tc/invariant/010-site-defaults
|
|
|
|
chmod +x $(1)/lib/gluon/upgrade/simple-tc/invariant/010-site-defaults
|
2013-10-03 11:59:45 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,gluon-simple-tc))
|