Makefile 742 B

1234567891011121314151617181920212223242526272829303132333435
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-mesh-batman-adv-14
  3. PKG_VERSION:=1
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(GLUONDIR)/include/package.mk
  6. define Package/gluon-mesh-batman-adv-14
  7. SECTION:=gluon
  8. CATEGORY:=Gluon
  9. TITLE:=Support for batman-adv meshing (compat level 14)
  10. DEPENDS:=+gluon-mesh-batman-adv-core +kmod-batman-adv-legacy
  11. PROVIDES:=gluon-mesh-batman-adv
  12. endef
  13. define Build/Prepare
  14. mkdir -p $(PKG_BUILD_DIR)
  15. endef
  16. define Build/Configure
  17. endef
  18. define Build/Compile
  19. $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
  20. endef
  21. define Package/gluon-mesh-batman-adv-14/install
  22. $(CP) ./files/* $(1)/
  23. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  24. endef
  25. $(eval $(call BuildPackage,gluon-mesh-batman-adv-14))