aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/urandom-seed/Makefile
blob: 7cb7c720382d76a2f6f8b7a18f4314a143c60c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
include $(TOPDIR)/rules.mk

PKG_NAME:=urandom-seed
PKG_RELEASE:=2
PKG_LICENSE:=GPL-2.0-only

include $(INCLUDE_DIR)/package.mk

define Package/urandom-seed
  SECTION:=base
  CATEGORY:=Base system
  DEPENDS:=+getrandom
  TITLE:=/etc/urandom.seed handling for OpenWrt
  URL:=https://openwrt.org/
endef

define Build/Prepare
	mkdir -p $(PKG_BUILD_DIR)
endef

define Build/Compile/Default
endef
Build/Compile = $(Build/Compile/Default)

define Package/urandom-seed/install
	$(CP) ./files/* $(1)/
endef

$(eval $(call BuildPackage,urandom-seed))