gluon-node-info: use GluonSrcDiet (#1168)

This commit is contained in:
Tata 2017-06-29 11:59:22 +02:00 committed by Matthias Schiffer
parent 27f35e56b4
commit 5dcbbe93dc
4 changed files with 6 additions and 1 deletions

View File

@ -22,9 +22,14 @@ define Build/Prepare
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef
define Build/Compile
$(call Build/Compile/Default)
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
endef
define Package/gluon-node-info/install
$(CP) ./files/* $(1)/
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
$(INSTALL_DIR) $(1)/lib/gluon/respondd
$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/node-info.so
endef