1
0

Makefile 542 B

1234567891011121314151617181920212223242526272829
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=urandom-seed
  3. PKG_RELEASE:=3
  4. PKG_LICENSE:=GPL-2.0-only
  5. include $(INCLUDE_DIR)/package.mk
  6. define Package/urandom-seed
  7. SECTION:=base
  8. CATEGORY:=Base system
  9. DEPENDS:=+getrandom
  10. TITLE:=/etc/urandom.seed handling for libreCMC
  11. URL:=https://openwrt.org/
  12. endef
  13. define Build/Prepare
  14. mkdir -p $(PKG_BUILD_DIR)
  15. endef
  16. define Build/Compile/Default
  17. endef
  18. Build/Compile = $(Build/Compile/Default)
  19. define Package/urandom-seed/install
  20. $(CP) ./files/* $(1)/
  21. endef
  22. $(eval $(call BuildPackage,urandom-seed))