1
0

Makefile 594 B

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