2014-05-13 18:09:28 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gluon-config
|
|
|
|
PKG_VERSION:=$(GLUON_SITE_CODE)
|
2015-03-19 02:54:12 +00:00
|
|
|
PKG_RELEASE:=0.$(GLUON_RELEASE)
|
|
|
|
|
|
|
|
PKG_FILE_DEPENDS := $(GLUON_SITEDIR)/
|
2014-05-13 18:09:28 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/gluon-config
|
|
|
|
SECTION:=gluon
|
|
|
|
CATEGORY:=Gluon
|
|
|
|
TITLE:=Site-specific config files of Gluon
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-config/description
|
|
|
|
Gluon community wifi mesh firmware framework: site configuration
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-config/install
|
|
|
|
$(INSTALL_DIR) $(1)/lib/gluon
|
|
|
|
$(CP) $(GLUON_SITEDIR)/site.conf $(1)/lib/gluon/site.conf
|
2014-05-18 22:09:14 +00:00
|
|
|
echo "$(GLUON_RELEASE)" > $(1)/lib/gluon/release
|
2014-05-13 18:09:28 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,gluon-config))
|