python-packages: Clean up Makefiles

* Replace $(PKG_NAME) with package name in call, define, and eval lines
* Remove extra "define" in $(call define Package/.../description)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To
2020-01-30 22:44:26 +08:00
parent ab3ba9ff2b
commit 3c24a24e25
16 changed files with 204 additions and 204 deletions

View File

@@ -36,6 +36,6 @@ define Package/python3-netifaces/description
Portable network interface information.
endef
$(eval $(call Py3Package,$(PKG_NAME)))
$(eval $(call BuildPackage,$(PKG_NAME)))
$(eval $(call BuildPackage,$(PKG_NAME)-src))
$(eval $(call Py3Package,python3-netifaces))
$(eval $(call BuildPackage,python3-netifaces))
$(eval $(call BuildPackage,python3-netifaces-src))