mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
c0e30b17eb
Some packages won't ever have something to patch as they normally install files or are meta-packages. For these special packages, disable QUILT refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
33 lines
567 B
Makefile
33 lines
567 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=urandom-seed
|
|
PKG_RELEASE:=3
|
|
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/Quilt
|
|
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))
|