diff options
author | Sungbo Eo <mans0n@gorani.run> | 2020-02-23 21:37:36 +0900 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-02-23 22:42:36 +0100 |
commit | 33ecc694d5fdf5390d2e2703ef995ef8459f5071 (patch) | |
tree | 0ef5c71bc1b4fdba2d4940bb8254c563fd7a1f9a /package | |
parent | 1013b140a663b5f40e27397c0c4c6a542a4d4a24 (diff) | |
download | upstream-33ecc694d5fdf5390d2e2703ef995ef8459f5071.tar.gz upstream-33ecc694d5fdf5390d2e2703ef995ef8459f5071.tar.bz2 upstream-33ecc694d5fdf5390d2e2703ef995ef8459f5071.zip |
urandom-seed: avoid PKG_NAME in define lines
> Avoid reuse of PKG_NAME in call, define and eval lines for consistency and
> readability. Write the full name instead.
Ref: https://openwrt.org/docs/guide-developer/packages
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'package')
-rw-r--r-- | package/system/urandom-seed/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/system/urandom-seed/Makefile b/package/system/urandom-seed/Makefile index 6bde2e0b8a..aa13765a52 100644 --- a/package/system/urandom-seed/Makefile +++ b/package/system/urandom-seed/Makefile @@ -9,7 +9,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) include $(INCLUDE_DIR)/package.mk -define Package/$(PKG_NAME) +define Package/urandom-seed SECTION:=base CATEGORY:=Base system DEPENDS:=+getrandom @@ -25,7 +25,7 @@ define Build/Compile/Default endef Build/Compile = $(Build/Compile/Default) -define Package/$(PKG_NAME)/install +define Package/urandom-seed/install $(CP) ./files/* $(1)/ endef |