Skip to content

Commit

Permalink
urandom-seed: avoid PKG_NAME in define lines
Browse files Browse the repository at this point in the history
> 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>
  • Loading branch information
mans0n authored and adschm committed Feb 23, 2020
1 parent 1013b14 commit 33ecc69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/system/urandom-seed/Makefile
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 33ecc69

Please sign in to comment.