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>
This commit is contained in:
Sungbo Eo 2020-02-23 21:37:36 +09:00 committed by Adrian Schmutzler
parent 1013b140a6
commit 33ecc694d5

View File

@ -9,7 +9,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME) define Package/urandom-seed
SECTION:=base SECTION:=base
CATEGORY:=Base system CATEGORY:=Base system
DEPENDS:=+getrandom DEPENDS:=+getrandom
@ -25,7 +25,7 @@ define Build/Compile/Default
endef endef
Build/Compile = $(Build/Compile/Default) Build/Compile = $(Build/Compile/Default)
define Package/$(PKG_NAME)/install define Package/urandom-seed/install
$(CP) ./files/* $(1)/ $(CP) ./files/* $(1)/
endef endef