|
@@ -8,6 +8,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
|
include $(GLUONDIR)/include/package.mk
|
|
|
|
|
|
+
|
|
|
define Package/gluon-core
|
|
|
SECTION:=gluon
|
|
|
CATEGORY:=Gluon
|
|
@@ -15,7 +16,6 @@ define Package/gluon-core
|
|
|
DEPENDS:=+gluon-site +libgluonutil +lua-platform-info +lua-hash +luci-base +luci-lib-jsonc +odhcp6c +firewall
|
|
|
endef
|
|
|
|
|
|
-
|
|
|
define Package/gluon-core/description
|
|
|
Gluon community wifi mesh firmware framework: core
|
|
|
endef
|
|
@@ -28,10 +28,12 @@ define Build/Configure
|
|
|
endef
|
|
|
|
|
|
define Build/Compile
|
|
|
+ $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
|
|
endef
|
|
|
|
|
|
define Package/gluon-core/install
|
|
|
$(CP) ./files/* $(1)/
|
|
|
+ $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
|
|
$(SED) 's/__GLUON_OPENWRT_FEEDS__/{$(GLUON_OPENWRT_FEEDS:%="%",)}/' $(1)/lib/gluon/upgrade/500-opkg
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/lib/gluon
|