Advertisement
TehnoZet2

Makefile

Feb 25th, 2021 (edited)
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. include $(TOPDIR)/rules.mk
  2.  
  3. PKG_NAME:=octoprint3020
  4. PKG_VERSION:=1
  5. PKG_RELEASE:=1
  6.  
  7. PKG_BUILD_DIR:= $(BUILD_DIR)/$(PKG_NAME)
  8.  
  9. include $(INCLUDE_DIR)/package.mk
  10.  
  11.  
  12. define Package/octoprint3020
  13. SECTION:=utils
  14. CATEGORY:=Utilities
  15. TITLE:=OctoPrint-TP-LinkTL-MR3020 (CPU-mt76x8)
  16. endef
  17.  
  18. define Package/octoprint3020/description
  19. OctoPrint-TP-LinkTL-MR3020 (CPU-mt76x8)
  20. endef
  21.  
  22. define Build/Prepare
  23. mkdir -p $(PKG_BUILD_DIR)
  24. $(CP) ./src/* $(PKG_BUILD_DIR)/
  25. endef
  26.  
  27.  
  28. define Package/octoprint3020/install
  29. $(INSTALL_DIR) $(1)/bin
  30. $(INSTALL_BIN) $(PKG_BUILD_DIR)/octoprint3020 $(1)/bin/
  31. endef
  32.  
  33.  
  34. $(eval $(call BuildPackage,octoprint3020))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement